public static class LMSimilarity.LMStats extends BasicStats
avgFieldLength, docFreq, numberOfDocuments, numberOfFieldTokens, queryBoost, topLevelBoost, totalBoost, totalTermFreq
Constructor and Description |
---|
LMSimilarity.LMStats(String field,
float queryBoost)
Creates LMStats for the provided field and query-time boost
|
Modifier and Type | Method and Description |
---|---|
float |
getCollectionProbability()
Returns the probability that the current term is generated by the
collection.
|
void |
setCollectionProbability(float collectionProbability)
Sets the probability that the current term is generated by the
collection.
|
getAvgFieldLength, getDocFreq, getNumberOfDocuments, getNumberOfFieldTokens, getTotalBoost, getTotalTermFreq, getValueForNormalization, normalize, rawNormalizationValue, setAvgFieldLength, setDocFreq, setNumberOfDocuments, setNumberOfFieldTokens, setTotalTermFreq
public LMSimilarity.LMStats(String field, float queryBoost)
public final float getCollectionProbability()
public final void setCollectionProbability(float collectionProbability)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.