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
|
Constructor and Description |
---|
PayloadScoreQuery(SpanQuery wrappedQuery,
PayloadFunction function)
Creates a new PayloadScoreQuery that includes the underlying span scores
|
PayloadScoreQuery(SpanQuery wrappedQuery,
PayloadFunction function,
boolean includeSpanScore)
Creates a new PayloadScoreQuery
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.