Extracted at 2016-03-29.
pike.lysator.liu.se
[Top]
Public
Public.Xapian
Public.Xapian.Weight

Method Public.Xapian.Weight()->get_sumextra()


Method get_sumextra

float get_sumextra(int len)

Description

Get an extra weight for a document to add to the sum calculated over the query terms.

This returns a weight for a given document, and is used by some weighting schemes to account for influence such as document length.

Parameter len

the (unnormalised) document length.

Returns