-
Type:
New Feature
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.9
-
Component/s: None
-
Labels:None
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.
- is related to
-
LUCENE-1341 BoostingNearQuery class (prototype)
-
- Closed
-