Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Field and Description |
---|---|
static 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 only
|
Modifier and Type | Method and Description |
---|---|
static Matches |
MatchesUtils.forField(String field,
IOSupplier<MatchesIterator> mis)
Create a Matches for a single field
|
static Matches |
MatchesUtils.fromSubMatches(List<Matches> subMatches)
Amalgamate a collection of
Matches into a single object |
Matches |
Weight.matches(LeafReaderContext context,
int doc)
Returns
Matches for a specific document, or null if the document
does not match the parent query
A query match that contains no position information (for example, a Point or
DocValues query) will return MatchesUtils.MATCH_WITH_NO_TERMS |
Matches |
FilterWeight.matches(LeafReaderContext context,
int doc) |
Matches |
DisjunctionMaxQuery.DisjunctionMaxWeight.matches(LeafReaderContext context,
int doc) |
Modifier and Type | Method and Description |
---|---|
static Matches |
MatchesUtils.fromSubMatches(List<Matches> subMatches)
Amalgamate a collection of
Matches into a single object |
Modifier and Type | Method and Description |
---|---|
Matches |
SpanWeight.matches(LeafReaderContext context,
int doc) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.