Provides the ability to use a different Similarity for different fields.
Subclasses should implement #get(String) to return an appropriate Similarity (for
example, using field-specific parameter values) for the field.
<init>()Sole constructor. (For invocation by subclass constructors, typically implicit.)
computeNorm(org.apache.lucene.index.FieldInvertState state)scorer(float boost, org.apache.lucene.search.CollectionStatistics collectionStats, org.apache.lucene.search.TermStatistics[] termStats)getDiscountOverlaps() · also: get_discount_overlapsReturns true if overlap tokens are discounted from the document's length.