Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
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(LeafReaderContext context,
int doc,
Query query,
String field,
BytesRefIterator terms)
Create a MatchesIterator that is a disjunction over a list of terms extracted from a
BytesRefIterator . |
static MatchesIterator |
MatchesUtils.disjunction(List<MatchesIterator> subMatches)
Create a MatchesIterator that iterates in order over all matches in a set of subiterators
|
MatchesIterator |
NamedMatches.getMatches(String field) |
MatchesIterator |
Matches.getMatches(String field)
Returns a
MatchesIterator over the matches for a single field,
or null if there are no matches in that field. |
MatchesIterator |
FilterMatchesIterator.getSubMatches() |
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 |
Modifier and Type | Method and Description |
---|---|
static MatchesIterator |
MatchesUtils.disjunction(List<MatchesIterator> subMatches)
Create a MatchesIterator that iterates in order over all matches in a set of subiterators
|
static Matches |
MatchesUtils.forField(String field,
IOSupplier<MatchesIterator> mis)
Create a Matches for a single field
|
Constructor and Description |
---|
FilterMatchesIterator(MatchesIterator in)
Create a new FilterMatchesIterator
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.