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 |
Filters and Queries that add to core Lucene.
|
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.grouping |
Grouping.
|
org.apache.lucene.search.grouping.function |
Support for grouping by
ValueSource . |
org.apache.lucene.search.grouping.term |
Support for grouping by indexed terms via
DocValues . |
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 |
---|---|
void |
LatLonPointDistanceComparator.setScorer(Scorer scorer) |
Modifier and Type | Field and Description |
---|---|
(package private) static Scorer |
Sorter.FAKESCORER |
Modifier and Type | Class and Description |
---|---|
private class |
CustomScoreQuery.CustomScorer
A scorer that applies a (callback) function on scores of the subQuery.
|
Modifier and Type | Field and Description |
---|---|
private Scorer |
CustomScoreQuery.CustomScorer.subQueryScorer |
private Scorer[] |
CustomScoreQuery.CustomScorer.valSrcScorers |
Modifier and Type | Method and Description |
---|---|
Scorer |
CustomScoreQuery.CustomWeight.scorer(LeafReaderContext context) |
Constructor and Description |
---|
CustomScorer(CustomScoreProvider provider,
CustomScoreQuery.CustomWeight w,
float qWeight,
Scorer subQueryScorer,
Scorer[] valSrcScorers) |
CustomScorer(CustomScoreProvider provider,
CustomScoreQuery.CustomWeight w,
float qWeight,
Scorer subQueryScorer,
Scorer[] valSrcScorers) |
Modifier and Type | Class and Description |
---|---|
private class |
BoostedQuery.CustomScorer |
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 |
BoostedQuery.BoostedWeight.scorer(LeafReaderContext context) |
Scorer |
FunctionQuery.FunctionWeight.scorer(LeafReaderContext context) |
Constructor and Description |
---|
CustomScorer(LeafReaderContext readerContext,
BoostedQuery.BoostedWeight w,
Scorer scorer,
ValueSource vs) |
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) static class |
BooleanTopLevelScorers.BoostedScorer
Used when there is more than one scorer in a query, but a segment
only had one non-null scorer.
|
(package private) static class |
BooleanTopLevelScorers.CoordinatingConjunctionScorer
Used when there are both mandatory and optional clauses, but minShouldMatch
dictates that some of the optional clauses must match.
|
(package private) static class |
BooleanTopLevelScorers.ReqMultiOptScorer
Used when there are mandatory clauses with optional clauses: we compute
coord based on how many optional subscorers matched (freq).
|
(package private) static class |
BooleanTopLevelScorers.ReqSingleOptScorer
Used when there are mandatory clauses with one optional clause: we compute
coord based on whether the optional clause matched or not.
|
private static class |
CachingCollector.CachedScorer |
(package private) class |
ConjunctionScorer
Scorer for conjunctions, sets of queries, all of which are required.
|
class |
ConstantScoreScorer
A constant-scoring
Scorer . |
(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 . |
(package private) class |
ExactPhraseScorer |
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 |
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.
|
class |
ScoreCachingWrappingScorer
A
Scorer which wraps another scorer and caches the score of the
current document. |
(package private) class |
SloppyPhraseScorer |
(package private) static class |
SynonymQuery.SynonymScorer |
(package private) class |
TermAutomatonScorer |
(package private) class |
TermScorer
Expert: A
Scorer for documents matching a Term . |
Modifier and Type | Field and Description |
---|---|
Scorer |
Scorer.ChildScorer.child
Child Scorer.
|
protected Scorer |
FilterScorer.in |
private Scorer |
BooleanTopLevelScorers.CoordinatingConjunctionScorer.opt |
protected Scorer |
ReqOptSumScorer.optScorer |
private Scorer |
BooleanTopLevelScorers.CoordinatingConjunctionScorer.req |
private Scorer |
ReqExclScorer.reqScorer |
protected Scorer |
ReqOptSumScorer.reqScorer
The scorers passed from the constructor.
|
(package private) Scorer |
BooleanScorer.OrCollector.scorer |
(package private) Scorer |
CachingCollector.ScoreCachingLeafCollector.scorer |
Scorer |
DisiWrapper.scorer |
private Scorer |
FieldComparator.RelevanceComparator.scorer |
(package private) Scorer |
TopFieldCollector.OneComparatorLeafCollector.scorer |
(package private) Scorer |
TopFieldCollector.MultiComparatorLeafCollector.scorer |
(package private) Scorer |
TopScoreDocCollector.ScorerLeafCollector.scorer |
private Scorer |
Weight.DefaultBulkScorer.scorer |
(package private) Scorer[] |
ConjunctionScorer.scorers |
Modifier and Type | Method and Description |
---|---|
private Scorer |
BooleanWeight.excl(Scorer main,
java.util.List<Scorer> prohibited) |
private Scorer |
BooleanWeight.opt(java.util.List<Scorer> optional,
int minShouldMatch,
boolean disableCoord) |
private Scorer |
BooleanWeight.req(java.util.List<Scorer> required,
java.util.List<Scorer> requiredScoring,
boolean disableCoord)
Create a new scorer for the given required clauses.
|
Scorer |
BooleanWeight.scorer(LeafReaderContext context) |
Scorer |
DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context)
Create the scorer used to score our associated DisjunctionMaxQuery
|
Scorer |
LRUQueryCache.CachingWrapperWeight.scorer(LeafReaderContext context) |
Scorer |
MultiPhraseQuery.MultiPhraseWeight.scorer(LeafReaderContext context) |
Scorer |
PhraseQuery.PhraseWeight.scorer(LeafReaderContext context) |
Scorer |
RandomAccessWeight.scorer(LeafReaderContext context) |
Scorer |
SynonymQuery.SynonymWeight.scorer(LeafReaderContext context) |
Scorer |
TermQuery.TermWeight.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 |
TermAutomatonQuery.TermAutomatonWeight.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 |
BooleanWeight.excl(Scorer main,
java.util.List<Scorer> prohibited) |
void |
BooleanScorer.OrCollector.setScorer(Scorer scorer) |
void |
CachingCollector.ScoreCachingLeafCollector.setScorer(Scorer scorer) |
void |
FieldComparator.RelevanceComparator.setScorer(Scorer scorer) |
void |
FieldComparator.DocComparator.setScorer(Scorer scorer) |
void |
FieldComparator.TermOrdValComparator.setScorer(Scorer scorer) |
void |
FieldComparator.TermValComparator.setScorer(Scorer scorer) |
void |
FilterLeafCollector.setScorer(Scorer scorer) |
void |
LeafCollector.setScorer(Scorer scorer)
Called before successive calls to
LeafCollector.collect(int) . |
void |
LeafFieldComparator.setScorer(Scorer scorer)
Sets the Scorer to use in case a document's score is
needed.
|
void |
MultiCollector.MultiLeafCollector.setScorer(Scorer scorer) |
void |
SimpleCollector.setScorer(Scorer scorer) |
void |
SimpleFieldComparator.setScorer(Scorer scorer) |
void |
TopFieldCollector.OneComparatorLeafCollector.setScorer(Scorer scorer) |
void |
TopFieldCollector.MultiComparatorLeafCollector.setScorer(Scorer scorer) |
void |
TopScoreDocCollector.ScorerLeafCollector.setScorer(Scorer scorer) |
Modifier and Type | Method and Description |
---|---|
private static long |
MinShouldMatchSumScorer.cost(java.util.Collection<Scorer> scorers,
int minShouldMatch) |
private Scorer |
BooleanWeight.excl(Scorer main,
java.util.List<Scorer> prohibited) |
static ConjunctionDISI |
ConjunctionDISI.intersectScorers(java.util.List<Scorer> scorers)
Create a conjunction over the provided
Scorer s, taking advantage
of TwoPhaseIterator . |
private Scorer |
BooleanWeight.opt(java.util.List<Scorer> optional,
int minShouldMatch,
boolean disableCoord) |
private Scorer |
BooleanWeight.req(java.util.List<Scorer> required,
java.util.List<Scorer> requiredScoring,
boolean disableCoord)
Create a new scorer for the given required clauses.
|
private Scorer |
BooleanWeight.req(java.util.List<Scorer> required,
java.util.List<Scorer> requiredScoring,
boolean disableCoord)
Create a new scorer for the given required clauses.
|
Constructor and Description |
---|
BoostedScorer(Scorer in,
float boost) |
ChildScorer(Scorer child,
java.lang.String relationship)
Creates a new ChildScorer node with the specified relationship.
|
CoordinatingConjunctionScorer(Weight weight,
float[] coords,
Scorer req,
int reqCount,
Scorer opt) |
DefaultBulkScorer(Scorer scorer)
Sole constructor.
|
DisiWrapper(Scorer scorer) |
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 . |
ReqMultiOptScorer(Scorer reqScorer,
Scorer optScorer,
int requiredCount,
float[] coords) |
ReqOptSumScorer(Scorer reqScorer,
Scorer optScorer)
Construct a
ReqOptScorer . |
ReqSingleOptScorer(Scorer reqScorer,
Scorer optScorer,
float coordReq,
float coordBoth) |
ScoreCachingWrappingScorer(Scorer scorer)
Creates a new instance by wrapping the given scorer.
|
Constructor and Description |
---|
ConjunctionScorer(Weight weight,
java.util.List<Scorer> required,
java.util.List<Scorer> scorers) |
ConjunctionScorer(Weight weight,
java.util.List<Scorer> required,
java.util.List<Scorer> scorers) |
ConjunctionScorer(Weight weight,
java.util.List<Scorer> required,
java.util.List<Scorer> scorers,
float coord)
|
ConjunctionScorer(Weight weight,
java.util.List<Scorer> required,
java.util.List<Scorer> scorers,
float coord)
|
DisjunctionMaxScorer(Weight weight,
float tieBreakerMultiplier,
java.util.List<Scorer> subScorers,
boolean needsScores)
Creates a new instance of DisjunctionMaxScorer
|
DisjunctionScorer(Weight weight,
java.util.List<Scorer> subScorers,
boolean needsScores) |
DisjunctionSumScorer(Weight weight,
java.util.List<Scorer> subScorers,
float[] coord,
boolean needsScores)
Construct a
DisjunctionScorer . |
MinShouldMatchSumScorer(Weight weight,
java.util.Collection<Scorer> scorers,
int minShouldMatch,
float[] coord) |
SynonymScorer(Similarity.SimScorer similarity,
Weight weight,
java.util.List<Scorer> subScorers) |
Modifier and Type | Field and Description |
---|---|
private Scorer |
BlockGroupingCollector.scorer |
Modifier and Type | Method and Description |
---|---|
void |
AbstractAllGroupsCollector.setScorer(Scorer scorer) |
void |
AbstractFirstPassGroupingCollector.setScorer(Scorer scorer) |
void |
AbstractGroupFacetCollector.setScorer(Scorer scorer) |
void |
AbstractSecondPassGroupingCollector.setScorer(Scorer scorer) |
void |
BlockGroupingCollector.setScorer(Scorer scorer) |
Modifier and Type | Field and Description |
---|---|
private Scorer |
FunctionAllGroupHeadsCollector.scorer |
Modifier and Type | Method and Description |
---|---|
void |
FunctionAllGroupHeadsCollector.setScorer(Scorer scorer) |
Modifier and Type | Field and Description |
---|---|
(package private) Scorer |
TermAllGroupHeadsCollector.GeneralAllGroupHeadsCollector.scorer |
(package private) Scorer |
TermAllGroupHeadsCollector.OrdScoreAllGroupHeadsCollector.scorer |
(package private) Scorer |
TermAllGroupHeadsCollector.ScoreAllGroupHeadsCollector.scorer |
Modifier and Type | Method and Description |
---|---|
void |
TermAllGroupHeadsCollector.GeneralAllGroupHeadsCollector.setScorer(Scorer scorer) |
void |
TermAllGroupHeadsCollector.OrdScoreAllGroupHeadsCollector.setScorer(Scorer scorer) |
void |
TermAllGroupHeadsCollector.OrdAllGroupHeadsCollector.setScorer(Scorer scorer) |
void |
TermAllGroupHeadsCollector.ScoreAllGroupHeadsCollector.setScorer(Scorer scorer) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
BaseGlobalOrdinalScorer |
(package private) class |
FakeScorer |
(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 |
static class |
ToParentBlockJoinQuery.ChildrenMatchesScorer
Ascendant for
ToParentBlockJoinQuery 's scorer. |
Modifier and Type | Field and Description |
---|---|
private Scorer |
ToParentBlockJoinQuery.BlockJoinScorer.childScorer |
private Scorer |
ToChildBlockJoinQuery.ToChildBlockJoinScorer.parentScorer |
private Scorer |
GlobalOrdinalsWithScoreCollector.OrdinalMapCollector.scorer |
private Scorer |
GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector.scorer |
(package private) Scorer |
TermsWithScoreCollector.scorer |
Modifier and Type | Method and Description |
---|---|
Scorer |
GlobalOrdinalsQuery.W.scorer(LeafReaderContext context) |
Scorer |
GlobalOrdinalsWithScoreQuery.W.scorer(LeafReaderContext context) |
Scorer |
ToChildBlockJoinQuery.ToChildBlockJoinWeight.scorer(LeafReaderContext readerContext) |
Scorer |
ToParentBlockJoinQuery.BlockJoinWeight.scorer(LeafReaderContext readerContext) |
Modifier and Type | Method and Description |
---|---|
void |
GlobalOrdinalsCollector.OrdinalMapCollector.setScorer(Scorer scorer) |
void |
GlobalOrdinalsCollector.SegmentOrdinalCollector.setScorer(Scorer scorer) |
void |
GlobalOrdinalsWithScoreCollector.OrdinalMapCollector.setScorer(Scorer scorer) |
void |
GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector.setScorer(Scorer scorer) |
void |
TermsWithScoreCollector.setScorer(Scorer scorer) |
Constructor and Description |
---|
BlockJoinScorer(Weight weight,
Scorer childScorer,
BitSet parentBits,
int firstChildDoc,
ScoreMode scoreMode) |
ToChildBlockJoinScorer(Weight weight,
Scorer parentScorer,
BitSet parentBits,
boolean doScores) |
Modifier and Type | Class and Description |
---|---|
class |
SpanScorer
|