Package | Description |
---|---|
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
Modifier and Type | Class and Description |
---|---|
class |
AveragePayloadFunction
Calculate the final score as the average score of all payloads seen.
|
class |
MaxPayloadFunction
Returns the maximum payload score seen, else 1 if there are no payloads on the doc.
|
class |
MinPayloadFunction
Calculates the minimum payload seen
|
Modifier and Type | Field and Description |
---|---|
protected PayloadFunction |
PayloadTermQuery.function |
protected PayloadFunction |
PayloadNearQuery.function |
Constructor and Description |
---|
PayloadNearQuery(SpanQuery[] clauses,
int slop,
boolean inOrder,
PayloadFunction function) |
PayloadTermQuery(Term term,
PayloadFunction function) |
PayloadTermQuery(Term term,
PayloadFunction function,
boolean includeSpanScore) |