The payloads package provides Query mechanisms for finding and using payloads.
The following Query implementations are provided:
Class Summary Class Description AveragePayloadFunctionCalculate the final score as the average score of all payloads seen. MaxPayloadFunctionReturns the maximum payload score seen, else 1 if there are no payloads on the doc. MinPayloadFunctionCalculates the minimum payload seen PayloadFunctionAn abstract class that defines a way for Payload*Query instances to transform the cumulative effects of payload scores for a document. PayloadNearQuery PayloadSpanUtilExperimental class to get set of payloads for most standard Lucene queries. PayloadTermQuery