Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.intervals |
Intervals queries
|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Class and Description |
---|---|
class |
FilterMatchesIterator
A MatchesIterator that delegates all calls to another MatchesIterator
|
Modifier and Type | Field and Description |
---|---|
protected MatchesIterator |
FilterMatchesIterator.in
The delegate
|
Modifier and Type | Method and Description |
---|---|
static MatchesIterator |
MatchesUtils.disjunction(java.util.List<MatchesIterator> subMatches)
Create a MatchesIterator that iterates in order over all matches in a set of subiterators
|
MatchesIterator |
Matches.getMatches(java.lang.String field)
Returns a
MatchesIterator over the matches for a single field,
or null if there are no matches in that field. |
MatchesIterator |
MatchesIterator.getSubMatches()
Returns a MatchesIterator that iterates over the positions and offsets of individual
terms within the current match
Returns
null if there are no submatches (ie the current iterator is at the
leaf level)
Should only be called after next() has returned true |
MatchesIterator |
FilterMatchesIterator.getSubMatches() |
Modifier and Type | Method and Description |
---|---|
static MatchesIterator |
MatchesUtils.disjunction(java.util.List<MatchesIterator> subMatches)
Create a MatchesIterator that iterates in order over all matches in a set of subiterators
|
static Matches |
MatchesUtils.forField(java.lang.String field,
IOSupplier<MatchesIterator> mis)
Create a Matches for a single field
|
Constructor and Description |
---|
FilterMatchesIterator(MatchesIterator in)
Create a new FilterMatchesIterator
|
Modifier and Type | Method and Description |
---|---|
abstract MatchesIterator |
IntervalsSource.matches(java.lang.String field,
LeafReaderContext ctx,
int doc)
Return a
MatchesIterator over the intervals defined by this IntervalsSource for a
given document and field
Returns null if no intervals exist in the given document and field |
Constructor and Description |
---|
OfMatchesIterator(MatchesIterator matchesIterator,
java.util.function.Supplier<BytesRef> termSupplier) |
OfMatchesIteratorWithSubs(MatchesIterator matchesIterator) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.