Package | Description |
---|---|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.queries.intervals |
Intervals queries
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Method and Description |
---|---|
Matches |
FunctionScoreQuery.FunctionScoreWeight.matches(LeafReaderContext context,
int doc) |
Modifier and Type | Method and Description |
---|---|
Matches |
IntervalQuery.IntervalWeight.matches(LeafReaderContext context,
int doc) |
Modifier and Type | Class and Description |
---|---|
class |
NamedMatches
Utility class to help extract the set of sub queries that have matched from
a larger query.
|
Modifier and Type | Field and Description |
---|---|
private Matches |
NamedMatches.in |
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(java.lang.String field,
IOSupplier<MatchesIterator> mis)
Create a Matches for a single field
|
static Matches |
MatchesUtils.fromSubMatches(java.util.List<Matches> subMatches)
Amalgamate a collection of
Matches into a single object |
Matches |
LRUQueryCache.CachingWrapperWeight.matches(LeafReaderContext context,
int doc) |
Matches |
BooleanWeight.matches(LeafReaderContext context,
int doc) |
Matches |
PhraseWeight.matches(LeafReaderContext context,
int doc) |
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 |
DisjunctionMaxQuery.DisjunctionMaxWeight.matches(LeafReaderContext context,
int doc) |
Matches |
FilterWeight.matches(LeafReaderContext context,
int doc) |
Matches |
SynonymQuery.SynonymWeight.matches(LeafReaderContext context,
int doc) |
Matches |
TermQuery.TermWeight.matches(LeafReaderContext context,
int doc) |
Matches |
BM25FQuery.BM25FWeight.matches(LeafReaderContext context,
int doc) |
Matches |
CoveringQuery.CoveringWeight.matches(LeafReaderContext context,
int doc) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Matches> |
NamedMatches.getSubMatches() |
java.util.Collection<Matches> |
Matches.getSubMatches()
Returns a collection of Matches that make up this instance; if it is not
a composite, then this returns an empty list
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<NamedMatches> |
NamedMatches.findNamedMatches(Matches matches)
Finds all
NamedMatches in a Matches tree |
Modifier and Type | Method and Description |
---|---|
static Matches |
MatchesUtils.fromSubMatches(java.util.List<Matches> subMatches)
Amalgamate a collection of
Matches into a single object |
Constructor and Description |
---|
NamedMatches(java.lang.String name,
Matches in)
Wraps a
Matches object and associates a name with it |
Modifier and Type | Method and Description |
---|---|
Matches |
ToParentBlockJoinQuery.BlockJoinWeight.matches(LeafReaderContext context,
int doc) |
Modifier and Type | Method and Description |
---|---|
Matches |
SpanWeight.matches(LeafReaderContext context,
int doc) |