Package | Description |
---|---|
org.apache.lucene.search.similarities |
This package contains the various ranking models that can be used in Lucene.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Method and Description |
---|---|
Similarity.SimScorer |
PerFieldSimilarityWrapper.simScorer(Similarity.SimWeight weight,
LeafReaderContext context) |
Similarity.SimScorer |
TFIDFSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
BooleanSimilarity.simScorer(Similarity.SimWeight weight,
LeafReaderContext context) |
abstract Similarity.SimScorer |
Similarity.simScorer(Similarity.SimWeight weight,
LeafReaderContext context)
Creates a new
Similarity.SimScorer to score matching documents from a segment of the inverted index. |
Similarity.SimScorer |
MultiSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
SimilarityBase.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
BM25Similarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Modifier and Type | Field and Description |
---|---|
protected Similarity.SimScorer |
SpanScorer.docScorer |
Modifier and Type | Method and Description |
---|---|
Similarity.SimScorer |
SpanWeight.getSimScorer(LeafReaderContext context)
Return a SimScorer for this context
|
Constructor and Description |
---|
SpanScorer(SpanWeight weight,
Spans spans,
Similarity.SimScorer docScorer)
Sole constructor.
|
TermSpans(Similarity.SimScorer scorer,
PostingsEnum postings,
Term term,
float positionsCost) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.