Package | Description |
---|---|
org.apache.lucene.facet |
Faceted search.
|
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.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Method and Description |
---|---|
void |
FacetsCollector.setScorer(Scorer scorer) |
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 |
FunctionQuery.FunctionWeight.scorer(LeafReaderContext context) |
Modifier and Type | Class and Description |
---|---|
class |
AssertingScorer
Wraps a Scorer with additional checks
|
class |
BulkScorerWrapperScorer
A
BulkScorer -backed scorer. |
class |
ConstantScoreScorer
A constant-scoring
Scorer . |
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. |
Modifier and Type | Field and Description |
---|---|
Scorer |
Scorer.ChildScorer.child
Child Scorer.
|
protected Scorer |
FilterScorer.in |
Scorer |
DisiWrapper.scorer |
Modifier and Type | Method and Description |
---|---|
abstract Scorer |
ScorerSupplier.get(long leadCost)
Get the
Scorer . |
Scorer |
AssertingScorer.getIn() |
Scorer |
DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context)
Create the scorer used to score our associated DisjunctionMaxQuery
|
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) |
static Scorer |
AssertingScorer.wrap(java.util.Random random,
Scorer other,
boolean canScore) |
Modifier and Type | Method and Description |
---|---|
static DoubleValues |
DoubleValuesSource.fromScorer(Scorer scorer)
Returns a DoubleValues instance that wraps scores returned by a Scorer
|
void |
CheckHits.SetCollector.setScorer(Scorer scorer) |
void |
CheckHits.ExplanationAsserter.setScorer(Scorer scorer) |
void |
LeafFieldComparator.setScorer(Scorer scorer)
Sets the Scorer to use in case a document's score is
needed.
|
void |
MultiCollectorManager.Collectors.LeafCollectors.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 |
LeafCollector.setScorer(Scorer scorer)
Called before successive calls to
LeafCollector.collect(int) . |
void |
SimpleCollector.setScorer(Scorer scorer) |
void |
SimpleFieldComparator.setScorer(Scorer scorer) |
void |
FilterLeafCollector.setScorer(Scorer scorer) |
static Scorer |
AssertingScorer.wrap(java.util.Random random,
Scorer other,
boolean canScore) |
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
|
ScoreCachingWrappingScorer(Scorer scorer)
Creates a new instance by wrapping the given scorer.
|
Modifier and Type | Field and Description |
---|---|
protected Scorer |
AllGroupHeadsCollector.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
|
void |
GroupReducer.setScorer(Scorer scorer)
Set the Scorer on all group collectors
|
void |
AllGroupsCollector.setScorer(Scorer scorer) |
void |
BlockGroupingCollector.setScorer(Scorer scorer) |
void |
SecondPassGroupingCollector.setScorer(Scorer scorer) |
void |
GroupFacetCollector.setScorer(Scorer scorer) |
void |
FirstPassGroupingCollector.setScorer(Scorer scorer) |
void |
AllGroupHeadsCollector.setScorer(Scorer scorer) |
protected abstract void |
AllGroupHeadsCollector.GroupHead.setScorer(Scorer scorer)
Called for each segment
|
Modifier and Type | Class and Description |
---|---|
class |
SpanScorer
|
Modifier and Type | Method and Description |
---|---|
Scorer |
CompletionWeight.scorer(LeafReaderContext context) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.