protected float |
BM25Similarity.avgFieldLength(CollectionStatistics collectionStats) |
The default implementation computes the average as sumTotalTermFreq / maxDoc ,
or returns 1 if the index does not store sumTotalTermFreq (Lucene 3.x indexes
or any field that omits frequency information).
|
Similarity.SimWeight |
BM25Similarity.computeWeight(float queryBoost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
|
Similarity.SimWeight |
MultiSimilarity.computeWeight(float queryBoost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
|
Similarity.SimWeight |
PerFieldSimilarityWrapper.computeWeight(float queryBoost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
|
abstract Similarity.SimWeight |
Similarity.computeWeight(float queryBoost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Compute any collection-level weight (e.g.
|
Similarity.SimWeight |
SimilarityBase.computeWeight(float queryBoost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
|
Similarity.SimWeight |
TFIDFSimilarity.computeWeight(float queryBoost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
|
protected void |
LMSimilarity.fillBasicStats(BasicStats stats,
CollectionStatistics collectionStats,
TermStatistics termStats) |
Computes the collection probability of the current term in addition to the
usual statistics.
|
protected void |
SimilarityBase.fillBasicStats(BasicStats stats,
CollectionStatistics collectionStats,
TermStatistics termStats) |
Fills all member fields defined in BasicStats in stats .
|
Explanation |
BM25Similarity.idfExplain(CollectionStatistics collectionStats,
TermStatistics termStats) |
Computes a score factor for a simple term and returns an explanation
for that score factor.
|
Explanation |
BM25Similarity.idfExplain(CollectionStatistics collectionStats,
TermStatistics[] termStats) |
Computes a score factor for a phrase.
|
Explanation |
TFIDFSimilarity.idfExplain(CollectionStatistics collectionStats,
TermStatistics termStats) |
Computes a score factor for a simple term and returns an explanation
for that score factor.
|
Explanation |
TFIDFSimilarity.idfExplain(CollectionStatistics collectionStats,
TermStatistics[] termStats) |
Computes a score factor for a phrase.
|