Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Similar to the BoostingTermQuery, the BoostingFunctionTermQuery is a SpanTermQuery, but the difference is the payload score for a doc is not the average of all the payloads, but applies a function to them instead. BoostingTermQuery becomes a BoostingFunctionTermQuery with an AveragePayloadFunction applied to it.
Also add marker interface to indicate PayloadQuery types. Refactor Similarity.scorePayload to also take in the doc id.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-1341 BoostingNearQuery class (prototype)
- Closed