Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
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) |
Scorer |
DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context)
Create the scorer used to score our associated DisjunctionMaxQuery
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleFieldComparator.setScorer(Scorer scorer) |
void |
SimpleCollector.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) |
Constructor and Description |
---|
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.
|
Scorer.ChildScorer(Scorer child,
String relationship)
Creates a new ChildScorer node with the specified relationship.
|
Weight.DefaultBulkScorer(Scorer scorer)
Sole constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
FilterSpans
A
Spans implementation wrapping another spans instance,
allowing to filter spans matches easily by implementing FilterSpans.accept(org.apache.lucene.search.spans.Spans) |
class |
NearSpansOrdered
A Spans that is formed from the ordered subspans of a SpanNearQuery
where the subspans do not overlap and have a maximum slop between them.
|
class |
NearSpansUnordered
Similar to
NearSpansOrdered , but for the unordered case. |
class |
ScoringWrapperSpans
A Spans that wraps another Spans with a different SimScorer
|
class |
Spans
Iterates through combinations of start/end positions per-doc.
|
class |
TermSpans
Expert:
Public for extension only.
|
Modifier and Type | Method and Description |
---|---|
Scorer |
SpanWeight.scorer(LeafReaderContext context) |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.