Package org.apache.lucene.search.payloads


package org.apache.lucene.search.payloads
The payloads package provides Query mechanisms for finding and using payloads.

The following Query implementations are provided:

  1. PayloadTermQuery -- Boost a term's score based on the value of the payload located at that term.
  2. PayloadNearQuery -- A SpanNearQuery that factors in the value of the payloads located at each of the positions where the spans occur.

  • Classes
    Class
    Description
    Calculate the final score as the average score of all payloads seen.
    Returns the maximum payload score seen, else 1 if there are no payloads on the doc.
    Calculates the minimum payload seen
    An abstract class that defines a way for Payload*Query instances to transform the cumulative effects of payload scores for a document.
    This class is very similar to SpanNearQuery except that it factors in the value of the payloads located at each of the positions where the TermSpans occurs.
    Experimental class to get set of payloads for most standard Lucene queries.
    This class is very similar to SpanTermQuery except that it factors in the value of the payload located at each of the positions where the Term occurs.