Package | Description |
---|---|
org.apache.lucene.queries.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
|
class |
SumPayloadFunction
Calculate the final score as the sum of scores of all payloads seen.
|
Constructor and Description |
---|
PayloadScoreQuery(SpanQuery wrappedQuery,
PayloadFunction function,
PayloadDecoder decoder)
Creates a new PayloadScoreQuery that includes the underlying span scores
|
PayloadScoreQuery(SpanQuery wrappedQuery,
PayloadFunction function,
PayloadDecoder decoder,
boolean includeSpanScore)
Creates a new PayloadScoreQuery
|
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.