Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.queries.function.valuesource |
A variety of functions to use with FunctionQuery.
|
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.intervals |
Intervals queries
|
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 | Class and Description |
---|---|
private class |
LatLonPointDistanceFeatureQuery.DistanceScorer |
private class |
LongDistanceFeatureQuery.DistanceScorer |
Modifier and Type | Method and Description |
---|---|
protected Scorer |
LatLonShapeQuery.RelationScorerSupplier.getIntersectsScorer(LatLonShapeQuery query,
LeafReader reader,
Weight weight,
DocIdSetBuilder docIdSetBuilder,
float boost,
ScoreMode scoreMode)
returns a Scorer for INTERSECT queries that uses a sparse bitset
|
protected Scorer |
LatLonShapeQuery.RelationScorerSupplier.getScorer(LatLonShapeQuery query,
Weight weight,
FixedBitSet intersect,
FixedBitSet disjoint,
float boost,
ScoreMode scoreMode)
returns a Scorer for all other (non INTERSECT) queries
|
Modifier and Type | Method and Description |
---|---|
private static Scorer |
SoftDeletesRetentionMergePolicy.getScorer(Query query,
CodecReader reader) |
Modifier and Type | Class and Description |
---|---|
protected class |
FunctionQuery.AllScorer |
class |
ValueSourceScorer
Scorer which returns the result of FunctionValues.floatVal(int) as
the score for a document, and which filters out documents that don't match ValueSourceScorer.matches(int) . |
Modifier and Type | Method and Description |
---|---|
Scorer |
FunctionScoreQuery.FunctionScoreWeight.scorer(LeafReaderContext context) |
Scorer |
FunctionQuery.FunctionWeight.scorer(LeafReaderContext context) |
Modifier and Type | Field and Description |
---|---|
(package private) Scorer |
QueryDocValues.scorer |
Modifier and Type | Class and Description |
---|---|
private class |
PayloadScoreQuery.PayloadSpanScorer |
Modifier and Type | Class and Description |
---|---|
(package private) class |
BlockMaxConjunctionScorer
Scorer for conjunctions that checks the maximum scores of each clause in
order to potentially skip over blocks that can'h have competitive matches.
|
private static class |
BM25FQuery.BM25FScorer |
(package private) class |
ConjunctionScorer
Scorer for conjunctions, sets of queries, all of which are required.
|
class |
ConstantScoreScorer
A constant-scoring
Scorer . |
(package private) class |
CoveringScorer
A
Scorer whose number of matches is per-document. |
(package private) class |
DisjunctionMaxScorer
The Scorer for DisjunctionMaxQuery.
|
(package private) class |
DisjunctionScorer
Base class for Scorers that score disjunctions.
|
(package private) class |
DisjunctionSumScorer
A Scorer for OR like queries, counterpart of
ConjunctionScorer . |
class |
FilterScorer
A
FilterScorer contains another Scorer , which it
uses as its basic source of data, possibly transforming the data along the
way or providing additional functionality. |
(package private) class |
MinShouldMatchSumScorer
|
(package private) class |
PhraseScorer |
(package private) class |
ReqExclScorer
A Scorer for queries with a required subscorer
and an excluding (prohibited) sub
Scorer . |
(package private) class |
ReqOptSumScorer
A Scorer for queries with a required part and an optional part.
|
private static class |
SynonymQuery.FreqBoostTermScorer |
private static class |
SynonymQuery.SynonymScorer |
(package private) class |
TermAutomatonScorer |
(package private) class |
TermScorer
Expert: A
Scorer for documents matching a Term . |
(package private) class |
WANDScorer
This implements the WAND (Weak AND) algorithm for dynamic pruning
described in "Efficient Query Evaluation using a Two-Level Retrieval
Process" by Broder, Carmel, Herscovici, Soffer and Zien.
|
Modifier and Type | Field and Description |
---|---|
protected Scorer |
FilterScorer.in |
private Scorer |
ReqOptSumScorer.optScorer |
private Scorer |
ReqExclScorer.reqScorer |
private Scorer |
ReqOptSumScorer.reqScorer |
private Scorer |
Weight.DefaultBulkScorer.scorer |
Scorer |
DisiWrapper.scorer |
protected Scorer |
BlockMaxDISI.scorer |
(package private) Scorer[] |
ConjunctionScorer.scorers |
(package private) Scorer[] |
BlockMaxConjunctionScorer.scorers |
private Scorer[] |
MaxScoreSumPropagator.scorers |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Collection<Scorer> |
ConjunctionScorer.required |
private java.util.List<Scorer> |
DisjunctionMaxScorer.subScorers |
Modifier and Type | Method and Description |
---|---|
private Scorer |
Boolean2ScorerSupplier.excl(Scorer main,
java.util.Collection<ScorerSupplier> prohibited,
long leadCost) |
abstract Scorer |
ScorerSupplier.get(long leadCost)
Get the
Scorer . |
Scorer |
Boolean2ScorerSupplier.get(long leadCost) |
private Scorer |
Boolean2ScorerSupplier.opt(java.util.Collection<ScorerSupplier> optional,
int minShouldMatch,
ScoreMode scoreMode,
long leadCost) |
private Scorer |
Boolean2ScorerSupplier.req(java.util.Collection<ScorerSupplier> requiredNoScoring,
java.util.Collection<ScorerSupplier> requiredScoring,
long leadCost)
Create a new scorer for the given required clauses.
|
Scorer |
TermAutomatonQuery.TermAutomatonWeight.scorer(LeafReaderContext context) |
Scorer |
BM25FQuery.BM25FWeight.scorer(LeafReaderContext context) |
Scorer |
CoveringQuery.CoveringWeight.scorer(LeafReaderContext context) |
abstract Scorer |
Weight.scorer(LeafReaderContext context)
Returns a
Scorer which can iterate in order over all matching
documents and assign them a score. |
Scorer |
FilterWeight.scorer(LeafReaderContext context) |
Scorer |
SynonymQuery.SynonymWeight.scorer(LeafReaderContext context) |
Scorer |
LRUQueryCache.CachingWrapperWeight.scorer(LeafReaderContext context) |
Scorer |
DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context)
Create the scorer used to score our associated DisjunctionMaxQuery
|
Scorer |
PhraseWeight.scorer(LeafReaderContext context) |
Scorer |
TermQuery.TermWeight.scorer(LeafReaderContext context) |
Scorer |
BooleanWeight.scorer(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
private static void |
ConjunctionDISI.addScorer(Scorer scorer,
java.util.List<DocIdSetIterator> allIterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators)
Adds the scorer, possibly splitting up into two phases or collapsing if it is another conjunction
|
private Scorer |
Boolean2ScorerSupplier.excl(Scorer main,
java.util.Collection<ScorerSupplier> prohibited,
long leadCost) |
Modifier and Type | Method and Description |
---|---|
static DocIdSetIterator |
ConjunctionDISI.intersectScorers(java.util.Collection<Scorer> scorers)
Create a conjunction over the provided
Scorer s. |
Constructor and Description |
---|
BlockMaxDISI(DocIdSetIterator iterator,
Scorer scorer) |
DefaultBulkScorer(Scorer scorer)
Sole constructor.
|
DisiWrapper(Scorer scorer) |
DisiWrapperFreq(Scorer scorer,
float boost) |
FilterScorer(Scorer in)
Create a new FilterScorer
|
FilterScorer(Scorer in,
Weight weight)
Create a new FilterScorer with a specific weight
|
ReqExclScorer(Scorer reqScorer,
Scorer exclScorer)
Construct a
ReqExclScorer . |
ReqOptSumScorer(Scorer reqScorer,
Scorer optScorer,
ScoreMode scoreMode)
Construct a
ReqOptScorer . |
WeightedDisiWrapper(Scorer scorer,
float weight) |
Constructor and Description |
---|
BlockMaxConjunctionScorer(Weight weight,
java.util.Collection<Scorer> scorersList)
Create a new
BlockMaxConjunctionScorer from scoring clauses. |
ConjunctionScorer(Weight weight,
java.util.Collection<Scorer> required,
java.util.Collection<Scorer> scorers)
|
ConjunctionScorer(Weight weight,
java.util.Collection<Scorer> required,
java.util.Collection<Scorer> scorers)
|
CoveringScorer(Weight weight,
java.util.Collection<Scorer> scorers,
LongValues minMatchValues,
int maxDoc) |
DisjunctionMaxScorer(Weight weight,
float tieBreakerMultiplier,
java.util.List<Scorer> subScorers,
ScoreMode scoreMode)
Creates a new instance of DisjunctionMaxScorer
|
DisjunctionScorer(Weight weight,
java.util.List<Scorer> subScorers,
ScoreMode scoreMode) |
DisjunctionSumScorer(Weight weight,
java.util.List<Scorer> subScorers,
ScoreMode scoreMode)
Construct a
DisjunctionScorer . |
MaxScoreSumPropagator(java.util.Collection<? extends Scorer> scorerList) |
MinShouldMatchSumScorer(Weight weight,
java.util.Collection<Scorer> scorers,
int minShouldMatch) |
WANDScorer(Weight weight,
java.util.Collection<Scorer> scorers) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
IntervalScorer |
Modifier and Type | Method and Description |
---|---|
Scorer |
IntervalQuery.IntervalWeight.scorer(LeafReaderContext context) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
BaseGlobalOrdinalScorer |
(package private) static class |
GlobalOrdinalsQuery.OrdinalMapScorer |
(package private) static class |
GlobalOrdinalsQuery.SegmentOrdinalScorer |
(package private) static class |
GlobalOrdinalsWithScoreQuery.OrdinalMapScorer |
(package private) static class |
GlobalOrdinalsWithScoreQuery.SegmentOrdinalScorer |
(package private) class |
TermsIncludingScoreQuery.MVInOrderScorer |
(package private) class |
TermsIncludingScoreQuery.SVInOrderScorer |
(package private) static class |
ToChildBlockJoinQuery.ToChildBlockJoinScorer |
(package private) static class |
ToParentBlockJoinQuery.BlockJoinScorer |
Modifier and Type | Field and Description |
---|---|
private Scorer |
ToParentBlockJoinQuery.BlockJoinScorer.childScorer |
private Scorer |
ToChildBlockJoinQuery.ToChildBlockJoinScorer.parentScorer |
Modifier and Type | Method and Description |
---|---|
Scorer |
GlobalOrdinalsQuery.W.scorer(LeafReaderContext context) |
Scorer |
ToParentBlockJoinQuery.BlockJoinWeight.scorer(LeafReaderContext context) |
Scorer |
ToChildBlockJoinQuery.ToChildBlockJoinWeight.scorer(LeafReaderContext readerContext) |
Scorer |
GlobalOrdinalsWithScoreQuery.W.scorer(LeafReaderContext context) |
Constructor and Description |
---|
BlockJoinScorer(Weight weight,
Scorer childScorer,
BitSet parentBits,
ScoreMode scoreMode) |
ToChildBlockJoinScorer(Weight weight,
Scorer parentScorer,
BitSet parentBits,
boolean doScores) |
Modifier and Type | Class and Description |
---|---|
class |
SpanScorer
|