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.grouping.function |
Support for grouping by
ValueSource . |
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
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. |
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 |
Modifier and Type | Method and Description |
---|---|
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 |
RandomAccessWeight.scorer(LeafReaderContext context) |
static Scorer |
AssertingScorer.wrap(Random random,
Scorer other,
boolean canScore) |
Modifier and Type | Method and Description |
---|---|
void |
CheckHits.SetCollector.setScorer(Scorer scorer) |
void |
CheckHits.ExplanationAsserter.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 |
SimpleCollector.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 |
SimpleFieldComparator.setScorer(Scorer scorer) |
void |
FilterLeafCollector.setScorer(Scorer scorer) |
static Scorer |
AssertingScorer.wrap(Random random,
Scorer other,
boolean canScore) |
Constructor and Description |
---|
ChildScorer(Scorer child,
String relationship)
Creates a new ChildScorer node with the specified relationship.
|
DefaultBulkScorer(Scorer scorer)
Sole constructor.
|
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 | Method and Description |
---|---|
void |
AbstractAllGroupsCollector.setScorer(Scorer scorer) |
void |
AbstractSecondPassGroupingCollector.setScorer(Scorer scorer) |
void |
AbstractGroupFacetCollector.setScorer(Scorer scorer) |
void |
BlockGroupingCollector.setScorer(Scorer scorer) |
void |
AbstractFirstPassGroupingCollector.setScorer(Scorer scorer) |
Modifier and Type | Method and Description |
---|---|
void |
FunctionAllGroupHeadsCollector.setScorer(Scorer scorer) |
Modifier and Type | Class and Description |
---|---|
class |
PayloadNearQuery.PayloadNearSpanScorer
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Scorer |
SpanPayloadCheckQuery.SpanPayloadCheckWeight.scorer(LeafReaderContext context) |
Scorer |
PayloadNearQuery.PayloadNearSpanWeight.scorer(LeafReaderContext context) |
Modifier and Type | Class and Description |
---|---|
class |
SpanScorer
Public for extension only.
|
Modifier and Type | Method and Description |
---|---|
Scorer |
AssertingSpanWeight.scorer(LeafReaderContext context) |
Scorer |
SpanWeight.scorer(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
Scorer |
CompletionWeight.scorer(LeafReaderContext context) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.