
DoubleValuesSource
- Namespace
- Rowles.LeanCorpus.Search.Scoring
- Assembly
- Rowles.LeanCorpus.dll
Produces a double value for a document, optionally using its query score.
public abstract class DoubleValuesSource
- Inheritance
-
DoubleValuesSource
NeedsScores
Gets whether this source needs the current query score.
Scores
A source that returns the current query score.
Add(DoubleValuesSource)
Adds this source to another source.
Constant(double)
Creates a source that always returns the supplied value.
Divide(DoubleValuesSource)
Divides this source by another source.
FromDoubleField(string)
Creates a source backed by a double-valued numeric field.
FromInt64Field(string)
Creates a source backed by a 64-bit integer field.
Multiply(DoubleValuesSource)
Multiplies this source by another source.
Rewrite(IndexSearcher)
Specialises this source for a searcher snapshot.
Subtract(DoubleValuesSource)
Subtracts another source from this source.
TryGetValue(IndexSearcher, int, double, out double)
Gets a value for one global document identifier.