Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.queries.function.docvalues |
FunctionValues for different data types.
|
org.apache.lucene.queries.intervals |
Intervals queries
|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Method and Description |
---|---|
Weight |
LatLonDocValuesPointInPolygonQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Modifier and Type | Class and Description |
---|---|
protected class |
FunctionQuery.FunctionWeight |
Modifier and Type | Method and Description |
---|---|
Weight |
FunctionScoreQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
FunctionRangeQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
FunctionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
FunctionMatchQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Modifier and Type | Method and Description |
---|---|
ValueSourceScorer |
FunctionValues.getRangeScorer(Weight weight,
LeafReaderContext readerContext,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper)
Yields a
Scorer that matches documents with values between the specified range,
and that which produces scores equal to FunctionValues.floatVal(int) . |
ValueSourceScorer |
FunctionValues.getScorer(Weight weight,
LeafReaderContext readerContext)
Yields a
Scorer that matches all documents,
and that which produces scores equal to FunctionValues.floatVal(int) . |
Constructor and Description |
---|
ValueSourceScorer(Weight weight,
LeafReaderContext readerContext,
FunctionValues values) |
Modifier and Type | Method and Description |
---|---|
ValueSourceScorer |
LongDocValues.getRangeScorer(Weight weight,
LeafReaderContext readerContext,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
IntDocValues.getRangeScorer(Weight weight,
LeafReaderContext readerContext,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
DoubleDocValues.getRangeScorer(Weight weight,
LeafReaderContext readerContext,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
DocTermsIndexDocValues.getRangeScorer(Weight weight,
LeafReaderContext readerContext,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
Modifier and Type | Method and Description |
---|---|
Weight |
IntervalQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Modifier and Type | Class and Description |
---|---|
class |
SpanPayloadCheckQuery.SpanPayloadCheckWeight
Weight that pulls its Spans using a PayloadSpanCollector
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantScoreWeight
A Weight that has a constant score equal to the boost of the wrapped query.
|
protected class |
DisjunctionMaxQuery.DisjunctionMaxWeight
Expert: the Weight for DisjunctionMaxQuery, used to
normalize, score and explain these queries.
|
class |
FilterWeight
A
FilterWeight contains another Weight and implements
all abstract methods by calling the contained weight's method. |
Modifier and Type | Field and Description |
---|---|
protected Weight |
FilterWeight.in |
protected Weight |
Scorer.weight
the Scorer's parent Weight
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Weight> |
DisjunctionMaxQuery.DisjunctionMaxWeight.weights
The Weights for our subqueries, in 1-1 correspondence with disjuncts
|
Modifier and Type | Method and Description |
---|---|
Weight |
TermAutomatonQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
PhraseWildcardQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
MultiRangeQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
IndexSortSortedNumericDocValuesRangeQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
DocValuesTermsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
DocValuesNumbersQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
CoveringQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
BM25FQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
TermQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
TermInSetQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
SynonymQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
Query.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost)
Expert: Constructs an appropriate Weight implementation for this query.
|
Weight |
PointRangeQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
PointInSetQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
PhraseQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
NormsFieldExistsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
MultiPhraseQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
MatchNoDocsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
MatchAllDocsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
IndexOrDocValuesQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
DocValuesFieldExistsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
DisjunctionMaxQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost)
Create the Weight used to score us
|
Weight |
ConstantScoreQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
BoostQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
BooleanQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
IndexSearcher.createWeight(Query query,
ScoreMode scoreMode,
float boost)
Creates a
Weight for the given query, potentially adding caching
if possible and configured. |
Weight |
QueryCache.doCache(Weight weight,
QueryCachingPolicy policy)
Return a wrapper around the provided
weight that will cache
matching docs per-segment accordingly to the given policy . |
Weight |
LRUQueryCache.doCache(Weight weight,
QueryCachingPolicy policy) |
protected Weight |
PhraseWildcardQuery.earlyStopWeight() |
Weight |
Scorer.getWeight()
returns parent Weight
|
protected Weight |
PhraseWildcardQuery.noMatchWeight() |
Modifier and Type | Method and Description |
---|---|
Weight |
QueryCache.doCache(Weight weight,
QueryCachingPolicy policy)
Return a wrapper around the provided
weight that will cache
matching docs per-segment accordingly to the given policy . |
Weight |
LRUQueryCache.doCache(Weight weight,
QueryCachingPolicy policy) |
protected Explanation |
IndexSearcher.explain(Weight weight,
int doc)
Expert: low-level implementation method
Returns an Explanation that describes how
doc scored against
weight . |
protected void |
IndexSearcher.search(List<LeafReaderContext> leaves,
Weight weight,
Collector collector)
Lower-level search API.
|
Constructor and Description |
---|
ConstantBulkScorer(BulkScorer bulkScorer,
Weight weight,
float theScore) |
ConstantScoreScorer(Weight weight,
float score,
ScoreMode scoreMode,
DocIdSetIterator disi)
Constructor based on a
DocIdSetIterator which will be used to
drive iteration. |
ConstantScoreScorer(Weight weight,
float score,
ScoreMode scoreMode,
TwoPhaseIterator twoPhaseIterator)
Constructor based on a
TwoPhaseIterator . |
FilterScorer(Scorer in,
Weight weight)
Create a new FilterScorer with a specific weight
|
FilterWeight(Query query,
Weight weight)
Alternative constructor.
|
FilterWeight(Weight weight)
Default constructor.
|
Scorer(Weight weight)
Constructs a Scorer
|
Constructor and Description |
---|
BlockGroupingCollector(Sort groupSort,
int topNGroups,
boolean needsScores,
Weight lastDocPerGroup)
Create the single pass collector.
|
Modifier and Type | Method and Description |
---|---|
Weight |
ToParentBlockJoinQuery.createWeight(IndexSearcher searcher,
ScoreMode weightScoreMode,
float boost) |
Weight |
ToChildBlockJoinQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
ParentChildrenBlockJoinQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Modifier and Type | Class and Description |
---|---|
class |
SpanContainingQuery.SpanContainingWeight |
class |
org.apache.lucene.search.spans.SpanContainQuery.SpanContainWeight |
class |
SpanNearQuery.SpanNearWeight |
class |
SpanNotQuery.SpanNotWeight |
class |
SpanOrQuery.SpanOrWeight |
class |
SpanPositionCheckQuery.SpanPositionCheckWeight |
class |
SpanTermQuery.SpanTermWeight |
class |
SpanWeight
Expert-only.
|
class |
SpanWithinQuery.SpanWithinWeight |
Modifier and Type | Class and Description |
---|---|
class |
CompletionWeight
Expert: the Weight for CompletionQuery, used to
score and explain these queries.
|
Modifier and Type | Method and Description |
---|---|
Weight |
RegexCompletionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
PrefixCompletionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
FuzzyCompletionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
ContextQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.