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 | Class and Description |
---|---|
class |
BasicStats
Stores all statistics commonly used ranking methods.
|
static class |
LMSimilarity.LMStats
Stores the collection distribution of the current term.
|
Modifier and Type | Method and Description |
---|---|
Similarity.SimWeight |
TFIDFSimilarity.computeWeight(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimWeight |
MultiSimilarity.computeWeight(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimWeight |
SimilarityBase.computeWeight(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimWeight |
PerFieldSimilarityWrapper.computeWeight(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimWeight |
BM25Similarity.computeWeight(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimWeight |
BooleanSimilarity.computeWeight(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
abstract Similarity.SimWeight |
Similarity.computeWeight(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats)
Compute any collection-level weight (e.g.
|
Modifier and Type | Method and Description |
---|---|
Similarity.SimScorer |
TFIDFSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
MultiSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
SimilarityBase.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
PerFieldSimilarityWrapper.simScorer(Similarity.SimWeight weight,
LeafReaderContext context) |
Similarity.SimScorer |
BM25Similarity.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. |
Modifier and Type | Field and Description |
---|---|
protected Similarity.SimWeight |
SpanWeight.simWeight |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.