[Xapian-discuss] scoring question

Olly Betts olly at survex.com
Wed Mar 21 18:25:13 GMT 2007


On Wed, Mar 21, 2007 at 09:52:28AM -0700, Alexander Lind wrote:
> Actually I figured out now that every single term in the xapian index 
> has a wdf of 0, and because of that every single hit is considered 100% 
> relevant.

Yes, I think that would cause all the documents to get the same weight.

I've wondered before if wdf should be forced to always be at least one,
but it's perhaps useful to be able to add boolean terms without
affecting the document length.

> I'll see if I can figure out what I have done wrong before bothering you 
> anymore. Probably something in my indexing script.

If it isn't pilot error, do let us know.

Cheers,
    Olly



More information about the Xapian-discuss mailing list