I’ve got an index with over 11M entries. Both server and clients are
running Ferret gem 0.11.4.
If I do “UserMessage.find_id_by_contents(‘kenn*’, :limit => 49)”, it
works fine. If I do " UserMessage.find_id_by_contents(‘kenn*’, :limit
=> 50)", it throws an exception, like this:
UserMessage.find_id_by_contents ‘kenn*’, :limit => 50
IOError: IO Error occured at <except.c>:93 in xraise
Error occured in fs_store.c:293 - fsi_seek_i
seeking pos -1473943740:
from (druby://ferret.lingr.com:9009)
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:411:in
[]' from (druby://ferret.lingr.com:9009) /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:411:in
[]’
from (druby://ferret.lingr.com:9009)
/usr/lib/ruby/1.8/monitor.rb:229:in synchronize' from (druby://ferret.lingr.com:9009) /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:403:in
[]’
… yada yada yada …
Any idea what I can do to recover from this? Rebuilding this index
would take a LOOOOOOOOOOOOONG time