Package | Description |
---|---|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Class and Description |
---|---|
private class |
PayloadScoreQuery.PayloadSpans |
Modifier and Type | Method and Description |
---|---|
Spans |
PayloadScoreQuery.PayloadSpanWeight.getSpans(LeafReaderContext ctx,
SpanWeight.Postings requiredPostings) |
Spans |
SpanPayloadCheckQuery.SpanPayloadCheckWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Modifier and Type | Method and Description |
---|---|
protected FilterSpans.AcceptStatus |
PayloadScoreQuery.PayloadSpans.accept(Spans candidate) |
Constructor and Description |
---|
PayloadSpans(Spans in,
PayloadDecoder decoder) |
Modifier and Type | Field and Description |
---|---|
Spans |
DisiWrapper.spans |
Modifier and Type | Method and Description |
---|---|
private static void |
ConjunctionDISI.addSpans(Spans spans,
java.util.List<DocIdSetIterator> allIterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators)
Adds the Spans.
|
Modifier and Type | Method and Description |
---|---|
static DocIdSetIterator |
ConjunctionDISI.intersectSpans(java.util.List<Spans> spanList)
Create a conjunction over the provided
Spans . |
Constructor and Description |
---|
DisiWrapper(Spans spans) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ConjunctionSpans
Common super class for multiple sub spans required in a document.
|
(package private) class |
ContainSpans |
class |
FilterSpans
A
Spans implementation wrapping another spans instance,
allowing to filter spans matches easily by implementing FilterSpans.accept(org.apache.lucene.search.spans.Spans) |
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. |
(package private) static class |
SpanNearQuery.GapSpans |
class |
TermSpans
Expert:
Public for extension only.
|
Modifier and Type | Field and Description |
---|---|
(package private) Spans |
ContainSpans.bigSpans |
protected Spans |
FilterSpans.in
The wrapped spans instance.
|
(package private) Spans |
ContainSpans.littleSpans |
(package private) Spans |
ContainSpans.sourceSpans |
protected Spans |
SpanScorer.spans |
(package private) Spans[] |
ConjunctionSpans.subSpans |
Modifier and Type | Method and Description |
---|---|
Spans |
SpanScorer.getSpans()
return the Spans for this Scorer
|
Spans |
SpanWithinQuery.SpanWithinWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings)
Return spans from
little that are contained in a spans from big . |
Spans |
SpanTermQuery.SpanTermWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanContainingQuery.SpanContainingWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings)
Return spans from
big that contain at least one spans from little . |
Spans |
SpanNearQuery.SpanNearWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanNearQuery.SpanGapQuery.SpanGapWeight.getSpans(LeafReaderContext ctx,
SpanWeight.Postings requiredPostings) |
Spans |
SpanNotQuery.SpanNotWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanPositionCheckQuery.SpanPositionCheckWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanOrQuery.SpanOrWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
abstract Spans |
SpanWeight.getSpans(LeafReaderContext ctx,
SpanWeight.Postings requiredPostings)
Expert: Return a Spans object iterating over matches from this Weight
|
Spans[] |
ConjunctionSpans.getSubSpans() |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.ArrayList<Spans> |
SpanContainQuery.SpanContainWeight.prepareConjunction(LeafReaderContext context,
SpanWeight.Postings postings) |
Modifier and Type | Method and Description |
---|---|
protected abstract FilterSpans.AcceptStatus |
FilterSpans.accept(Spans candidate)
Returns YES if the candidate should be an accepted match,
NO if it should not, and NO_MORE_IN_CURRENT_DOC if iteration
should move on to the next document.
|
protected FilterSpans.AcceptStatus |
SpanPositionRangeQuery.acceptPosition(Spans spans) |
protected FilterSpans.AcceptStatus |
SpanFirstQuery.acceptPosition(Spans spans) |
protected abstract FilterSpans.AcceptStatus |
SpanPositionCheckQuery.acceptPosition(Spans spans)
Implementing classes are required to return whether the current position is a match for the passed in
"match"
SpanQuery . |
private static int |
NearSpansOrdered.advancePosition(Spans spans,
int position) |
protected boolean |
NearSpansUnordered.SpanTotalLengthEndPositionWindow.lessThan(Spans spans1,
Spans spans2) |
protected boolean |
SpanPositionQueue.lessThan(Spans s1,
Spans s2) |
(package private) static boolean |
NearSpansUnordered.positionsOrdered(Spans spans1,
Spans spans2)
Check whether two Spans in the same document are ordered with possible overlap.
|
Constructor and Description |
---|
ContainSpans(Spans bigSpans,
Spans littleSpans,
Spans sourceSpans) |
FilterSpans(Spans in)
Wrap the given
Spans . |
SpanScorer(SpanWeight weight,
Spans spans,
LeafSimScorer docScorer)
Sole constructor.
|
Constructor and Description |
---|
ConjunctionSpans(java.util.List<Spans> subSpans) |
NearSpansOrdered(int allowedSlop,
java.util.List<Spans> subSpans) |
NearSpansUnordered(int allowedSlop,
java.util.List<Spans> subSpans) |