DOCFREQ = count of all documents - DocFreq(TERM_NO_NOT)
as in:
DOCFREQ = 60227 - DocFreq(New Term("all", "antibiotic"))
where the NOT piece was -antibiotic and all is the Lucene document field in question.
(Ob. Perl: Although PLucene is now 5 years out of date, Perlesque should eventually let you get at Lucene.NET via a strongly-typed Perl 6.)
Stupid Lucene Tricks: Document Frequencies and NOT 0 Comments More | Login | Reply /