Package | Description |
---|---|
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Method and Description |
---|---|
void |
PayloadNearQuery.PayloadNearSpanScorer.getPayloads(Spans[] subSpans) |
Constructor and Description |
---|
PayloadNearQuery.PayloadNearSpanScorer(Spans spans,
Weight weight,
Similarity similarity,
byte[] norms) |
Modifier and Type | Class and Description |
---|---|
class |
NearSpansOrdered
A Spans that is formed from the ordered subspans of a SpanNearQuery
where the subspans do not overlap and have a maximum slop between them.
|
class |
NearSpansUnordered
Similar to
NearSpansOrdered , but for the unordered case. |
protected class |
SpanPositionCheckQuery.PositionCheckSpan |
class |
TermSpans
Expert:
Public for extension only
|
Modifier and Type | Field and Description |
---|---|
protected Spans |
SpanScorer.spans |
Modifier and Type | Method and Description |
---|---|
Spans |
SpanTermQuery.getSpans(IndexReader reader) |
Spans |
SpanOrQuery.getSpans(IndexReader reader) |
Spans |
SpanPositionCheckQuery.getSpans(IndexReader reader) |
Spans |
SpanNotQuery.getSpans(IndexReader reader) |
Spans |
SpanNearQuery.getSpans(IndexReader reader) |
abstract Spans |
SpanQuery.getSpans(IndexReader reader)
Expert: Returns the matches for this query in an index.
|
Spans |
FieldMaskingSpanQuery.getSpans(IndexReader reader) |
Spans |
SpanMultiTermQueryWrapper.getSpans(IndexReader reader) |
Spans[] |
NearSpansOrdered.getSubSpans() |
Spans[] |
NearSpansUnordered.getSubSpans() |
Modifier and Type | Method and Description |
---|---|
protected SpanPositionCheckQuery.AcceptStatus |
SpanPositionRangeQuery.acceptPosition(Spans spans) |
protected abstract SpanPositionCheckQuery.AcceptStatus |
SpanPositionCheckQuery.acceptPosition(Spans spans)
Implementing classes are required to return whether the current position is a match for the passed in
"match"
SpanQuery . |
protected SpanPositionCheckQuery.AcceptStatus |
SpanNearPayloadCheckQuery.acceptPosition(Spans spans) |
protected SpanPositionCheckQuery.AcceptStatus |
SpanFirstQuery.acceptPosition(Spans spans) |
protected SpanPositionCheckQuery.AcceptStatus |
SpanPayloadCheckQuery.acceptPosition(Spans spans) |
Constructor and Description |
---|
SpanScorer(Spans spans,
Weight weight,
Similarity similarity,
byte[] norms) |