Hi,
I just installed ferret for the first time and integrated it with my
app. On my dev machine it's fine but on my production server I get this
when I call find_by_contents():
Processing LinksController#results (for 24.185.105.59 at 2007-03-28
05:28:36) [POST]
Session ID: 3f2dc7c17147c0e52178ba697a119833
Parameters: {"commit"=>"Search", "action"=>"results",
"controller"=>"links", "link"=>{"search"=>"test"}}
IOError (IO Error occured at <except.c>:93 in xraise
Error occured in index.c:886 - sis_find_segments_file
Error reading the segment infos. Store listing was
):
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:706:in
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:706:in
`new'
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:706:in
`ensure_reader_open'
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:713:in
`ensure_searcher_open'
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:658:in
`process_query'
/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:657:in
`process_query'
/vendor/plugins/acts_as_ferret/lib/local_index.rb:87:in
`find_id_by_contents'
/vendor/plugins/acts_as_ferret/lib/class_methods.rb:82:in
`find_id_by_contents'
/vendor/plugins/acts_as_ferret/lib/class_methods.rb:134:in
`ar_find_by_contents'
/vendor/plugins/acts_as_ferret/lib/class_methods.rb:128:in
`find_records_lazy_or_not'
/vendor/plugins/acts_as_ferret/lib/class_methods.rb:54:in
`find_by_contents'
/app/controllers/links_controller.rb:11:in `results'
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk