Excerpts from Jt Kimbell's message of Fri Jan 05 08:54:44 -0800 2007:
> As you can see, there are only 10 results, and they are from two
> different files.  Does Ferret only return 10 search results at a time or
> something?

http://ferret.davebalmain.com/api/classes/Ferret/Index/Index.html#M000022

>      searcher.search_each(Search::TermQuery.new(:content,
> "influenza"),{}) do |id, score|

search_each(Search::TermQuery.new(:content, "influenza"), :limit => :all)

(Or :limit => 1000, etc.)

-- 
William <[EMAIL PROTECTED]>
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to