Class LMDirichletSimilarityFactory


  • public class LMDirichletSimilarityFactory
    extends SimilarityFactory
    Factory for LMDirichletSimilarity

    Parameters:

    • parameter mu (float): smoothing parameter μ. The default is 2000

    Optional settings:

    • discountOverlaps (bool): Sets SimilarityBase.setDiscountOverlaps(boolean)
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • LMDirichletSimilarityFactory

        public LMDirichletSimilarityFactory()
    • Method Detail

      • init

        public void init​(org.apache.solr.common.params.SolrParams params)
        Overrides:
        init in class SimilarityFactory