Thinking Sphinx after deployment - ThinkingSphinx::SphinxError (unknown local index 'user_core' in search request):

雨燕双飞 提交于 2020-01-15 10:48:04

问题


I check this topic: Sphinx error: unknown local index "INDEX_NAME" in search request , but it's closed and it's not resolve problem in my rails application.

I update TS to 3.0.2, and include it to deploy.rb. I also change code in model. Now it works in development, and some examples work in test, and some not. But after successful deployment I get error:

ThinkingSphinx::SphinxError (unknown local index 'user_core' in search request):

I try rebuild, restart, and other things, but it doesn't work :(

Can anybody help me?

Thanks!


回答1:


It looks like there's already a Sphinx daemon running that Thinking Sphinx hasn't stopped (if you're still getting the same error) so I'd recommend killing that rogue searchd process (which you should be able to find via ps aux | grep searchd - and, if the permissions are fine, killall searchd will stop that Sphinx process).



来源:https://stackoverflow.com/questions/16886364/thinking-sphinx-after-deployment-thinkingsphinxsphinxerror-unknown-local-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!