Stores the collection distribution of the current term.
<init>(String field, double boost)Creates LMStats for the provided field and query-time boost
getCollectionProbability() · also: get_collection_probabilityReturns the probability that the current term is generated by the collection.
setCollectionProbability(double collectionProbability) · also: set_collection_probabilitySets the probability that the current term is generated by the collection.
getAvgFieldLength() · also: get_avg_field_lengthReturns the average field length.
setAvgFieldLength(double avgFieldLength) · also: set_avg_field_lengthSets the average field length.
getBoost() · also: get_boostReturns the total boost.
getDocFreq() · also: get_doc_freqReturns the document frequency.
setDocFreq(long docFreq) · also: set_doc_freqSets the document frequency.
getNumberOfDocuments() · also: get_number_of_documentsReturns the number of documents.
setNumberOfDocuments(long numberOfDocuments) · also: set_number_of_documentsSets the number of documents.
getNumberOfFieldTokens() · also: get_number_of_field_tokensReturns the total number of tokens in the field.
setNumberOfFieldTokens(long numberOfFieldTokens) · also: set_number_of_field_tokensSets the total number of tokens in the field.
getTotalTermFreq() · also: get_total_term_freqReturns the total number of occurrences of this term across all documents.
setTotalTermFreq(long totalTermFreq) · also: set_total_term_freqSets the total number of occurrences of this term across all documents.