public final class MatchesUtils
extends java.lang.Object
Matches
and
MatchesIterator
interfaces.Modifier and Type | Field and Description |
---|---|
static Matches |
MATCH_WITH_NO_TERMS
Indicates a match with no term positions, for example on a Point or DocValues field,
or a field indexed as docs and freqs only
|
Modifier | Constructor and Description |
---|---|
private |
MatchesUtils() |
Modifier and Type | Method and Description |
---|---|
static MatchesIterator |
disjunction(java.util.List<MatchesIterator> subMatches)
Create a MatchesIterator that iterates in order over all matches in a set of subiterators
|
static Matches |
forField(java.lang.String field,
IOSupplier<MatchesIterator> mis)
Create a Matches for a single field
|
static Matches |
fromSubMatches(java.util.List<Matches> subMatches)
Amalgamate a collection of
Matches into a single object |
public static final Matches MATCH_WITH_NO_TERMS
public static Matches fromSubMatches(java.util.List<Matches> subMatches)
Matches
into a single objectpublic static Matches forField(java.lang.String field, IOSupplier<MatchesIterator> mis) throws java.io.IOException
java.io.IOException
public static MatchesIterator disjunction(java.util.List<MatchesIterator> subMatches) throws java.io.IOException
java.io.IOException