no enabled local indexes to search
I'm getting the following when I'm trying to use search:
Course.search ''
ThinkingSphinx::SphinxError: no enabled local indexes to search
/app/.bundle/gems/ruby/1.9.1/gems/thinking-sphinx-1.4.5/lib/thinking_sphinx/search.rb:398:in `block in populate'
/app/.bundle/gems/ruby/1.9.1/gems/thinking-sphinx-1.4.5/lib/thinking_sphinx/search.rb:540:in `call'
/app/.bundle/gems/ruby/1.9.1/gems/thinking-sphinx-1.4.5/lib/thinking_sphinx/search.rb:540:in `retry_on_stale_index'
/app/.bundle/gems/ruby/1.9.1/gems/thinking-sphinx-1.4.5/lib/thinking_sphinx/search.rb:385:in `populate'
heroku rake fs:rebuild works fine.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Pat Allan on 23 Nov, 2011 04:14 PM
Hi Vitaly
Can you let me know which app this is running on? Also, can you confirm there is an index defined for the Course model?
Cheers
Pat
3 Posted by Vitaly Kushner on 24 Nov, 2011 03:38 PM
I already solved that. the indexing was failing. It was working on mysql before and on posture I had to manually specify couple of group_by columns.
Pat Allan closed this discussion on 26 Dec, 2011 09:23 AM.