[Xapian-discuss] Finding Max Possible Weight of a Document

Kenneth Loafman kenneth at loafman.com
Fri Jan 26 12:57:37 GMT 2007


Is there a way, without running a match, to find the max possible weight 
of a document?  This could be with or without consideration of the 
length of the document.  I have looked at all of the docs available on 
the web and installed on the system and may just be overlooking it.

The most direct way would be to sum the term weights times term freq of 
each document, but it would be nice if there was a call to do just that.

...Thanks,
...Ken



More information about the Xapian-discuss mailing list