public class IBSimilarityFactory extends SimilarityFactory
IBSimilarity
You must specify the implementations for all three components of the Information-Based model (strings).
distribution
: Probabilistic distribution used to
model term occurrence
lambda
: λw parameter of the
probability distribution
normalization
: Term frequency normalization
Any supported DFR normalization listed in
DFRSimilarityFactory
Optional settings:
SimilarityBase.setDiscountOverlaps(boolean)
CLASS_NAME, params
Constructor and Description |
---|
IBSimilarityFactory() |
Modifier and Type | Method and Description |
---|---|
Similarity |
getSimilarity() |
void |
init(SolrParams params) |
getClassArg, getNamedPropertyValues, getParams
public void init(SolrParams params)
init
in class SimilarityFactory
public Similarity getSimilarity()
getSimilarity
in class SimilarityFactory
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.