[Xapian-discuss] Does match weight include doc weight from index-time?

Henry henka at cityweb.co.za
Tue Dec 23 15:01:04 GMT 2008


Quoting Henry <henka at cityweb.co.za>:

> Greets,
>
> Does a match weight calculation (BM25) factor in the document page
> weight (eg, $analyzer->index_text( $text, $weight )) used during
> index-time, or is it not related at all?

Found the answer:

http://www.xapian.org/docs/apidoc/html/classXapian_1_1BM25Weight.html#a0

parameter k1==importance of wdf ($weight above is wdf increment)




More information about the Xapian-discuss mailing list