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.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 static 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 |
private static class |
ValueSource.FakeScorer |
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) |
Scorer |
BoostedQuery.BoostedWeight.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 |
---|---|
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 |
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 . |
(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 |
protected Scorer |
ReqOptSumScorer.optScorer |
protected Scorer |
ReqOptSumScorer.reqScorer
The scorers passed from the constructor.
|
private Scorer |
ReqExclScorer.reqScorer |
private Scorer |
Weight.DefaultBulkScorer.scorer |
(package private) Scorer |
TopScoreDocCollector.ScorerLeafCollector.scorer |
(package private) Scorer |
TopFieldCollector.MultiComparatorLeafCollector.scorer |
private Scorer |
FieldComparator.RelevanceComparator.scorer |
Scorer |
DisiWrapper.scorer |
(package private) Scorer |
CachingCollector.ScoreCachingLeafCollector.scorer |
(package private) Scorer |
BooleanScorer.OrCollector.scorer |
(package private) Scorer[] |
ConjunctionScorer.scorers |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Collection<Scorer> |
ConjunctionScorer.required |
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,
boolean needsScores,
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 |
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 |
TermQuery.TermWeight.scorer(LeafReaderContext context) |
Scorer |
SynonymQuery.SynonymWeight.scorer(LeafReaderContext context) |
Scorer |
PhraseQuery.PhraseWeight.scorer(LeafReaderContext context) |
Scorer |
MultiPhraseQuery.MultiPhraseWeight.scorer(LeafReaderContext context) |
Scorer |
LRUQueryCache.CachingWrapperWeight.scorer(LeafReaderContext context) |
Scorer |
FilterWeight.scorer(LeafReaderContext context) |
Scorer |
DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context)
Create the scorer used to score our associated DisjunctionMaxQuery
|
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) |
static DoubleValues |
DoubleValuesSource.fromScorer(Scorer scorer)
Returns a DoubleValues instance that wraps scores returned by a Scorer
|
void |
TopScoreDocCollector.ScorerLeafCollector.setScorer(Scorer scorer) |
void |
TopFieldCollector.MultiComparatorLeafCollector.setScorer(Scorer scorer) |
void |
SimpleFieldComparator.setScorer(Scorer scorer) |
void |
SimpleCollector.setScorer(Scorer scorer) |
void |
MultiLeafFieldComparator.setScorer(Scorer scorer) |
void |
MultiCollectorManager.Collectors.LeafCollectors.setScorer(Scorer scorer) |
void |
MultiCollector.MultiLeafCollector.setScorer(Scorer scorer) |
void |
LeafFieldComparator.setScorer(Scorer scorer)
Sets the Scorer to use in case a document's score is
needed.
|
void |
LeafCollector.setScorer(Scorer scorer)
Called before successive calls to
LeafCollector.collect(int) . |
void |
FilterLeafCollector.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 |
CachingCollector.ScoreCachingLeafCollector.setScorer(Scorer scorer) |
void |
BooleanScorer.OrCollector.setScorer(Scorer scorer) |
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 |
---|
ChildScorer(Scorer child,
java.lang.String relationship)
Creates a new ChildScorer node with the specified relationship.
|
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 . |
ReqOptSumScorer(Scorer reqScorer,
Scorer optScorer)
Construct a
ReqOptScorer . |
ScoreCachingWrappingScorer(Scorer scorer)
Creates a new instance by wrapping the given scorer.
|
Constructor and Description |
---|
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,
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,
boolean needsScores)
Construct a
DisjunctionScorer . |
MinShouldMatchSumScorer(Weight weight,
java.util.Collection<Scorer> scorers,
int minShouldMatch) |
SynonymScorer(Similarity.SimScorer similarity,
Weight weight,
java.util.List<Scorer> subScorers) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
FakeScorer |
Modifier and Type | Field and Description |
---|---|
private Scorer |
BlockGroupingCollector.scorer |
protected Scorer |
AllGroupHeadsCollector.scorer |
private Scorer |
AllGroupHeadsCollector.ScoringGroupHead.scorer |
Modifier and Type | Method and Description |
---|---|
protected abstract AllGroupHeadsCollector.GroupHead<T> |
AllGroupHeadsCollector.newGroupHead(int doc,
T value,
LeafReaderContext context,
Scorer scorer)
Create a new GroupHead for the given group value, initialized with a doc, context and scorer
|
protected AllGroupHeadsCollector.GroupHead<T> |
AllGroupHeadsCollector.SortingGroupHeadsCollector.newGroupHead(int doc,
T value,
LeafReaderContext ctx,
Scorer scorer) |
protected AllGroupHeadsCollector.GroupHead<T> |
AllGroupHeadsCollector.ScoringGroupHeadsCollector.newGroupHead(int doc,
T value,
LeafReaderContext context,
Scorer scorer) |
void |
SecondPassGroupingCollector.setScorer(Scorer scorer) |
void |
GroupReducer.setScorer(Scorer scorer)
Set the Scorer on all group collectors
|
void |
GroupFacetCollector.setScorer(Scorer scorer) |
void |
FirstPassGroupingCollector.setScorer(Scorer scorer) |
void |
BlockGroupingCollector.setScorer(Scorer scorer) |
void |
AllGroupsCollector.setScorer(Scorer scorer) |
void |
AllGroupHeadsCollector.setScorer(Scorer scorer) |
protected abstract void |
AllGroupHeadsCollector.GroupHead.setScorer(Scorer scorer)
Called for each segment
|
protected void |
AllGroupHeadsCollector.SortingGroupHead.setScorer(Scorer scorer) |
protected void |
AllGroupHeadsCollector.ScoringGroupHead.setScorer(Scorer scorer) |
Constructor and Description |
---|
ScoringGroupHead(Scorer scorer,
T groupValue,
int doc,
int docBase) |
SortingGroupHead(Sort sort,
T groupValue,
int doc,
LeafReaderContext context,
Scorer scorer) |
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 |
(package private) Scorer |
TermsWithScoreCollector.scorer |
private Scorer |
GlobalOrdinalsWithScoreCollector.OrdinalMapCollector.scorer |
private Scorer |
GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector.scorer |
Modifier and Type | Method and Description |
---|---|
Scorer |
ToParentBlockJoinQuery.BlockJoinWeight.scorer(LeafReaderContext context) |
Scorer |
ToChildBlockJoinQuery.ToChildBlockJoinWeight.scorer(LeafReaderContext readerContext) |
Scorer |
GlobalOrdinalsWithScoreQuery.W.scorer(LeafReaderContext context) |
Scorer |
GlobalOrdinalsQuery.W.scorer(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
void |
TermsWithScoreCollector.setScorer(Scorer scorer) |
void |
GlobalOrdinalsWithScoreCollector.OrdinalMapCollector.setScorer(Scorer scorer) |
void |
GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector.setScorer(Scorer scorer) |
void |
GlobalOrdinalsCollector.OrdinalMapCollector.setScorer(Scorer scorer) |
void |
GlobalOrdinalsCollector.SegmentOrdinalCollector.setScorer(Scorer scorer) |
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
|