Uses of Class
org.apache.lucene.queries.payloads.PayloadFunction
Packages that use PayloadFunction
Package
Description
The payloads package provides Query mechanisms for finding and using payloads.
-
Uses of PayloadFunction in org.apache.lucene.queries.payloads
Subclasses of PayloadFunction in org.apache.lucene.queries.payloadsModifier and TypeClassDescriptionclassCalculate the final score as the average score of all payloads seen.classReturns the maximum payload score seen, else 1 if there are no payloads on the doc.classCalculates the minimum payload seenclassCalculate the final score as the sum of scores of all payloads seen.Constructors in org.apache.lucene.queries.payloads with parameters of type PayloadFunctionModifierConstructorDescriptionPayloadScoreQuery(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