The payloads package provides Query mechanisms for finding and using payloads.
The following Query implementations are provided:
- PayloadTermQuery -- Boost a term's score based on the value of the payload located at that term.
- PayloadNearQuery -- A SpanNearQuery that factors in the value of the payloads located
at each of the positions where the spans occur.