Thanks Andy
Your code is efficient
>
> docs = index.search('Good')
> docs.hits.each do |hit|
> puts hit.inspect
> puts "Document #{hit.doc} found with a score of #{hit.score}"
> puts index[hit.doc][:content]
> end
> -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

