Hi,

when you do a search, the array you get back is actually a TopDocs
object, which has a total_hits value.

http://ferret.davebalmain.com/api/classes/Ferret/Search/TopDocs.html

I guess you'd just need to make sure all the fuzzy search stuff is off.

or am I missing something here?

John.

On Sat, 2007-04-28 at 12:26 +0200, Stian Grytøyr wrote:
> Is there a fast way to determine how many documents a term occurs in,
> besides iterating through every document with TermDocEnum?
> 
-- 
http://johnleach.co.uk

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to