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.
我查看了这个主题:Sphinx错误:搜索请求中的未知本地索引“INDEX_NAME”,但它已关闭,并且我的rails应用程序中没有解决问题。
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:
我将TS更新为3.0.2,并将其包含在deploy.rb中。我也改变了模型中的代码。现在它在开发中工作,有些例子在测试中工作,有些则没有。但成功部署后,我收到错误:
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!
3
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).
看起来已经有一个Sphinx守护进程正在运行,Thinking Sphinx还没有停止(如果你仍然得到相同的错误)所以我建议杀死那个流氓搜索进程(你应该可以通过ps aux | grep找到它) searchd - 如果权限没问题,killall searchd将停止Sphinx进程)。
本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.silva-art.net/blog/2013/06/02/3224ad5087f3de3daf5cf9163af02764.html。