Package | Description |
---|---|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
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 | Class and Description |
---|---|
class |
AssertingScorable
Wraps another Scorable and asserts that scores are reasonable
and only called when positioned
|
class |
AssertingScorer
Wraps a Scorer with additional checks
|
class |
BulkScorerWrapperScorer
A
BulkScorer -backed scorer. |
class |
ConstantScoreScorer
A constant-scoring
Scorer . |
class |
FilterScorable
Filter a
Scorable , intercepting methods and optionally changing
their return values
The default implementation simply passes all calls to its delegate, with
the exception of setMinCompetitiveScore(float) which defaults
to a no-op. |
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. |
class |
ScoreCachingWrappingScorer
A
Scorer which wraps another scorer and caches the score of the
current document. |
class |
Scorer
Expert: Common scoring functionality for different types of queries.
|
Modifier and Type | Field and Description |
---|---|
Scorable |
Scorable.ChildScorable.child
Child Scorer.
|
protected Scorable |
FilterScorable.in |
Modifier and Type | Method and Description |
---|---|
static Scorable |
AssertingScorable.unwrap(Scorable in) |
static Scorable |
AssertingScorable.wrap(Scorable in) |
Modifier and Type | Method and Description |
---|---|
static DoubleValues |
DoubleValuesSource.fromScorer(Scorable scorer)
Returns a DoubleValues instance that wraps scores returned by a Scorer
|
void |
CheckHits.SetCollector.setScorer(Scorable scorer) |
void |
CheckHits.ExplanationAsserter.setScorer(Scorable scorer) |
void |
FieldComparator.RelevanceComparator.setScorer(Scorable scorer) |
void |
FieldComparator.DocComparator.setScorer(Scorable scorer) |
void |
FieldComparator.TermOrdValComparator.setScorer(Scorable scorer) |
void |
FieldComparator.TermValComparator.setScorer(Scorable scorer) |
void |
LeafFieldComparator.setScorer(Scorable scorer)
Sets the Scorer to use in case a document's score is
needed.
|
void |
LeafCollector.setScorer(Scorable scorer)
Called before successive calls to
LeafCollector.collect(int) . |
void |
FilterLeafCollector.setScorer(Scorable scorer) |
void |
SimpleFieldComparator.setScorer(Scorable scorer) |
void |
MultiCollectorManager.Collectors.LeafCollectors.setScorer(Scorable scorer) |
void |
SimpleCollector.setScorer(Scorable scorer) |
static Scorable |
AssertingScorable.unwrap(Scorable in) |
protected void |
TopScoreDocCollector.updateMinCompetitiveScore(Scorable scorer) |
protected void |
TopFieldCollector.updateMinCompetitiveScore(Scorable scorer) |
static Scorable |
AssertingScorable.wrap(Scorable in) |
Constructor and Description |
---|
AssertingScorable(Scorable in) |
ChildScorable(Scorable child,
java.lang.String relationship)
Creates a new ChildScorer node with the specified relationship.
|
FilterScorable(Scorable in)
Filter a scorer
|
ScoreCachingWrappingScorer(Scorable scorer)
Creates a new instance by wrapping the given scorer.
|
Modifier and Type | Field and Description |
---|---|
protected Scorable |
AllGroupHeadsCollector.scorer |
Modifier and Type | Method and Description |
---|---|
protected abstract AllGroupHeadsCollector.GroupHead<T> |
AllGroupHeadsCollector.newGroupHead(int doc,
T value,
LeafReaderContext context,
Scorable scorer)
Create a new GroupHead for the given group value, initialized with a doc, context and scorer
|
void |
SecondPassGroupingCollector.setScorer(Scorable scorer) |
void |
GroupReducer.setScorer(Scorable scorer)
Set the Scorer on all group collectors
|
void |
BlockGroupingCollector.setScorer(Scorable scorer) |
void |
FirstPassGroupingCollector.setScorer(Scorable scorer) |
void |
AllGroupHeadsCollector.setScorer(Scorable scorer) |
protected abstract void |
AllGroupHeadsCollector.GroupHead.setScorer(Scorable scorer)
Called for each segment
|
void |
GroupFacetCollector.setScorer(Scorable scorer) |
void |
AllGroupsCollector.setScorer(Scorable scorer) |
Modifier and Type | Class and Description |
---|---|
class |
SpanScorer
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.