Class IBSimilarityFactory

  extended by org.apache.solr.schema.SimilarityFactory
      extended by

public class IBSimilarityFactory
extends SimilarityFactory

Factory for IBSimilarity

You must specify the implementations for all three components of the Information-Based model (strings).

  1. distribution: Probabilistic distribution used to model term occurrence
  2. lambda: λw parameter of the probability distribution
  3. normalization: Term frequency normalization
    Any supported DFR normalization listed in DFRSimilarityFactory

Optional settings:

WARNING: This API is experimental and might change in incompatible ways in the next release.

Field Summary
Fields inherited from class org.apache.solr.schema.SimilarityFactory
CLASS_NAME, params
Constructor Summary
Method Summary
 Similarity getSimilarity()
 void init(SolrParams params)
Methods inherited from class org.apache.solr.schema.SimilarityFactory
getClassArg, getNamedPropertyValues, getParams
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public IBSimilarityFactory()
Method Detail


public void init(SolrParams params)
init in class SimilarityFactory


public Similarity getSimilarity()
Specified by:
getSimilarity in class SimilarityFactory

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.