Uses of Interface
org.apache.lucene.search.Matches
-
Uses of Matches in org.apache.lucene.search
Modifier and TypeClassDescriptionclass
Utility class to help extract the set of sub queries that have matched from a larger query.Modifier and TypeFieldDescriptionstatic final Matches
MatchesUtils.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 onlyModifier and TypeMethodDescriptionstatic Matches
MatchesUtils.forField
(String field, IOSupplier<MatchesIterator> mis) Create a Matches for a single fieldstatic Matches
MatchesUtils.fromSubMatches
(List<Matches> subMatches) Amalgamate a collection ofMatches
into a single objectDisjunctionMaxQuery.DisjunctionMaxWeight.matches
(LeafReaderContext context, int doc) FilterWeight.matches
(LeafReaderContext context, int doc) PhraseWeight.matches
(LeafReaderContext context, int doc) Weight.matches
(LeafReaderContext context, int doc) ReturnsMatches
for a specific document, ornull
if the document does not match the parent queryModifier and TypeMethodDescriptionMatches.getSubMatches()
Returns a collection of Matches that make up this instance; if it is not a composite, then this returns an empty listNamedMatches.getSubMatches()
Modifier and TypeMethodDescriptionstatic List<NamedMatches>
NamedMatches.findNamedMatches
(Matches matches) Finds allNamedMatches
in aMatches
treeModifier and TypeMethodDescriptionstatic Matches
MatchesUtils.fromSubMatches
(List<Matches> subMatches) Amalgamate a collection ofMatches
into a single objectModifierConstructorDescriptionNamedMatches
(String name, Matches in) Wraps aMatches
object and associates a name with it