See: Description
Class | Description |
---|---|
AveragePayloadFunction |
Calculate the final score as the average score of all payloads seen.
|
MaxPayloadFunction |
Returns the maximum payload score seen, else 1 if there are no payloads on the doc.
|
MinPayloadFunction |
Calculates the minimum payload seen
|
PayloadFunction |
An abstract class that defines a way for Payload*Query instances to transform
the cumulative effects of payload scores for a document.
|
PayloadNearQuery | Deprecated
use
PayloadScoreQuery to wrap SpanNearQuery |
PayloadScoreQuery |
A Query class that uses a
PayloadFunction to modify the score of a
wrapped SpanQuery
NOTE: In order to take advantage of this with the default scoring implementation
(DefaultSimilarity ), you must override DefaultSimilarity.scorePayload(int, int, int, BytesRef) ,
which returns 1 by default. |
PayloadSpanCollector |
SpanCollector for collecting payloads
|
PayloadSpanUtil |
Experimental class to get set of payloads for most standard Lucene queries.
|
PayloadTermQuery | Deprecated
use
PayloadScoreQuery to wrap SpanTermQuery |
SpanNearPayloadCheckQuery | Deprecated |
SpanPayloadCheckQuery |
Only return those matches that have a specific payload at the given position.
|
The following Query implementations are provided:
PayloadScoreQuery
--
Boost a document's score from a SpanQuery based on the values of the payloads located at the matching terms
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.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.