public static class LMSimilarity.LMStats extends BasicStats
avgFieldLength, boost, docFreq, numberOfDocuments, numberOfFieldTokens, totalTermFreq
Constructor and Description |
---|
LMStats(String field)
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, getBoost, getDocFreq, getNumberOfDocuments, getNumberOfFieldTokens, getTotalTermFreq, getValueForNormalization, normalize, rawNormalizationValue, setAvgFieldLength, setDocFreq, setNumberOfDocuments, setNumberOfFieldTokens, setTotalTermFreq
public LMStats(String field)
public final float getCollectionProbability()
public final void setCollectionProbability(float collectionProbability)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.