Class PerFieldSimilarityWrapper
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.
@lucene.experimental
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class PerFieldSimilarityWrapper : Similarity
Constructors
Name | Description |
---|---|
PerFieldSimilarityWrapper() | Sole constructor. (For invocation by subclass constructors, typically implicit.) |
Methods
Name | Description |
---|---|
ComputeNorm(FieldInvertState) | |
ComputeWeight(Single, CollectionStatistics, TermStatistics[]) | |
Get(String) | Returns a Similarity for scoring a field. |
GetSimScorer(Similarity.SimWeight, AtomicReaderContext) |