[Xapian-discuss] scoring question

Alexander Lind malte at webstay.org
Wed Mar 21 01:05:31 GMT 2007

Hi All

I have just realized that if I set a query like
'green jelly bean'

xapian will turn that query into
'green OR jelly OR bean'

This causes documents containing just one of the words to be considered 
a 100% hit.
The behavior I would like to see is that each word gives a 33.3% hit, so 
that a document containing all 3 words gets placed above a document with 
only 1 or 2 words in it.

I don't see an operation matching this in the query class doc. Am I just 
being blind or is there really no simple way to do this operation in xapian?


More information about the Xapian-discuss mailing list