no enabled local indexes to search

Vitaly Kushner's Avatar

Vitaly Kushner

23 Nov, 2011 04:07 PM

I'm getting the following when I'm trying to use 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.

  1. Support Staff 1 Posted by Pat Allan on 23 Nov, 2011 04:14 PM

    Pat Allan's Avatar

    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?



  2. 2 Posted by Vitaly Kushner on 24 Nov, 2011 03:38 PM

    Vitaly Kushner's Avatar

    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.

  3. Pat Allan closed this discussion on 26 Dec, 2011 09:23 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac