Uses of Class
org.apache.lucene.queries.payloads.PayloadFunction
Package
Description
The payloads package provides Query mechanisms for finding and using payloads.
-
Uses of PayloadFunction in org.apache.lucene.queries.payloads
Modifier and TypeClassDescriptionclass
Calculate the final score as the average score of all payloads seen.class
Returns the maximum payload score seen, else 1 if there are no payloads on the doc.class
Calculates the minimum payload seenclass
Calculate the final score as the sum of scores of all payloads seen.ModifierConstructorDescriptionPayloadScoreQuery
(SpanQuery wrappedQuery, PayloadFunction function, PayloadDecoder decoder) Creates a new PayloadScoreQuery that includes the underlying span scoresPayloadScoreQuery
(SpanQuery wrappedQuery, PayloadFunction function, PayloadDecoder decoder, boolean includeSpanScore) Creates a new PayloadScoreQuery