/usr/lib64/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:394: [BUG] Segmentation fault ruby 1.8.6 (2008-08-11) [x86_64-linux] Any idea ?
on 2010-03-03 22:16
on 2010-05-05 07:04
patrick divan wrote: > /usr/lib64/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:394: > [BUG] Segmentation fault > ruby 1.8.6 (2008-08-11) [x86_64-linux] > > Any idea ? Anyone else have hints on this? I've looked around and the best I can find is to move to the ferret server which is when I started to get the error. I'm receiving the exact same error right down to the line number. Which ends up being this line in ferret: @searcher.search_each(query, options) do |doc, score| I'm using the ferret_server already and have an index on one model: acts_as_ferret :fields => [:description, :opportunity_title, :tags_with_spaces], :ferret => {:or_default => true, :analyzer => AfiAnalyzer.new }, :remote => true My analyzer follows the format specified by: http://wiki.github.com/jkraemer/acts_as_ferret/gotchas Except that it doesn't have the StopFilter: class AfiAnalyzer < Ferret::Analysis::Analyzer include Ferret::Analysis def token_stream(field, text) StemFilter.new(LowerCaseFilter.new(StandardTokenizer.new(text))) end end The index gets updated via a rails app and via a cron job both which run with the same user. Patrick, any similarities? Thanks, reid
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.