Uses of Interface
org.apache.lucene.search.similarities.LMSimilarity.CollectionModel
Packages that use LMSimilarity.CollectionModel
Package
Description
This package contains the various ranking models that can be used in Lucene.
-
Uses of LMSimilarity.CollectionModel in org.apache.lucene.search.similarities
Classes in org.apache.lucene.search.similarities that implement LMSimilarity.CollectionModelModifier and TypeClassDescriptionstatic classModelsp(w|C)as the number of occurrences of the term in the collection, divided by the total number of tokens+ 1.static classModelsp(w|C)as the number of occurrences of the term in the collection, divided by the total number of tokens+ 1.Fields in org.apache.lucene.search.similarities declared as LMSimilarity.CollectionModelModifier and TypeFieldDescriptionprotected final LMSimilarity.CollectionModelLMSimilarity.collectionModelThe collection model.Constructors in org.apache.lucene.search.similarities with parameters of type LMSimilarity.CollectionModelModifierConstructorDescriptionIndriDirichletSimilarity(LMSimilarity.CollectionModel collectionModel) Instantiates the similarity with the default μ value of 2000.IndriDirichletSimilarity(LMSimilarity.CollectionModel collectionModel, boolean discountOverlaps, float mu) Instantiates the similarity with the provided parameters.IndriDirichletSimilarity(LMSimilarity.CollectionModel collectionModel, float mu) Instantiates the similarity with the provided μ parameter.LMDirichletSimilarity(LMSimilarity.CollectionModel collectionModel) Instantiates the similarity with the default μ value of 2000.LMDirichletSimilarity(LMSimilarity.CollectionModel collectionModel, boolean discountOverlaps, float mu) Instantiates the similarity with the provided parameters.LMDirichletSimilarity(LMSimilarity.CollectionModel collectionModel, float mu) Instantiates the similarity with the provided μ parameter.LMJelinekMercerSimilarity(LMSimilarity.CollectionModel collectionModel, boolean discountOverlaps, float lambda) Instantiates with the specified collectionModel and parameters.LMJelinekMercerSimilarity(LMSimilarity.CollectionModel collectionModel, float lambda) Instantiates with the specified collectionModel and λ parameter.LMSimilarity(LMSimilarity.CollectionModel collectionModel) Creates a new instance with the specified collection language model.LMSimilarity(LMSimilarity.CollectionModel collectionModel, boolean discountOverlaps) Creates a new instance with the specified collection language model and discountOverlaps.