Class Similarity.SimScorer
API for scoring "sloppy" queries such as TermQuery, SpanQuery, and PhraseQuery.
Frequencies are floating-point values: an approximate within-document frequency adjusted for "sloppiness" by ComputeSlopFactor(Int32).
Inheritance
System.Object
Similarity.SimScorer
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class SimScorer : object
Constructors
Name | Description |
---|---|
SimScorer() | Sole constructor. (For invocation by subclass constructors, typically implicit.) |
Methods
Name | Description |
---|---|
ComputePayloadFactor(Int32, Int32, Int32, BytesRef) | Calculate a scoring factor based on the data in the payload. |
ComputeSlopFactor(Int32) | Computes the amount of a sloppy phrase match, based on an edit distance. |
Explain(Int32, Explanation) | Explain the score for a single document |
Score(Int32, Single) | Score a single document |