[Xapian-discuss] scoring question
Alexander Lind
malte at webstay.org
Wed Mar 21 18:39:34 GMT 2007
> Yes, I think that would cause all the documents to get the same weight.
>
I can confirm that it does :p
> 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.
>
Maybe make it 1 by default, but possible to set to 0 explicitly?
>> 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.
>
Pilot error it was. I had a boost factor variable, which always got set
to 0, effectively zero:ing the wdf argument for all documents.
Fixed now and working like a charm again.
Alec
> Cheers,
> Olly
>
>
More information about the Xapian-discuss
mailing list