Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.similarities |
This package contains the various ranking models that can be used in Lucene.
|
Modifier and Type | Method and Description |
---|---|
TermStatistics |
IndexSearcher.termStatistics(Term term,
int docFreq,
long totalTermFreq)
Returns
TermStatistics for a term. |
TermStatistics |
IndexSearcher.termStatistics(Term term,
TermStates context)
Deprecated.
in favor of
IndexSearcher.termStatistics(Term, int, long) . |
Modifier and Type | Method and Description |
---|---|
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 |
ClassicSimilarity.idfExplain(CollectionStatistics collectionStats,
TermStatistics termStats) |
Explanation |
TFIDFSimilarity.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 phrase.
|
Similarity.SimScorer |
BM25Similarity.scorer(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
abstract Similarity.SimScorer |
Similarity.scorer(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats)
Compute any collection-level weight (e.g.
|
Similarity.SimScorer |
MultiSimilarity.scorer(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimScorer |
BooleanSimilarity.scorer(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimScorer |
TFIDFSimilarity.scorer(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimScorer |
PerFieldSimilarityWrapper.scorer(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Similarity.SimScorer |
SimilarityBase.scorer(float boost,
CollectionStatistics collectionStats,
TermStatistics... termStats) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.