[Xapian-discuss] auto stopwords

James Aylett james-xapian at tartarus.org
Wed Dec 15 09:53:55 GMT 2004


On Wed, Dec 15, 2004 at 09:43:55AM +0000, Sam Liddicott wrote:

> As well as within-document-frequency and within-index-frequency is there 
> any benefit in keeping the not-in-document-frequency, or the number of 
> documents that do NOT contain a given term?

Isn't this Database::get_doccount() -  TermIterator::get_termfreq() ?

(Or Database::get_doccount() - Database::get_termfreq(tname) .)

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list