thinking sphinx and console

佐手、 提交于 2019-12-20 05:37:06

问题


I am having a problem with Thinking sphinx on webfaction -- I have no probelem when I do it locally on osx.

I search

>> ThinkingSphinx.search 'raymond'

and my response is this:

=> []

any ideas?

thx

sg


回答1:


If you have not already, you should run rake ts:index

If you would like your search to update every time you make a change, I would suggest looking into Delta Indexes also.




回答2:


Are you using AwesomePrint by any chance?

I am and that is what was causing my problem.

You can see the bug report here:

https://github.com/freelancing-god/thinking-sphinx/issues/257



来源:https://stackoverflow.com/questions/6804776/thinking-sphinx-and-console

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