On 3/13/07, Xavier Belanche <[EMAIL PROTECTED]> wrote: > <snip/> > >> options ="" > > (mmmh, just enough! Now.... ) > >> index.search_each(query, options) do |doc, score| > ?> puts index[doc][:title] > >> end > > And the next and horrible message! > > /usr/local/lib/site_ruby/1.8/ferret/index.rb:384: [BUG] Segmentation > fault > ruby 1.8.4 (2005-12-24) [x86_64-linux]
options must be a Hash or nil, not a String. One of the things I still need to do with Ferret is add argument checking. At the moment, if you pass a string when a hash is expected you'll get a segfault or bus error like this. I do plan to fix this in future. Cheers, Dave -- Dave Balmain http://www.davebalmain.com/ _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

