Method ConstantScore
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
ConstantScore(float)
Gives every document this query matches the same score, for filters
that shouldn't affect ranking, or to rank by clause rather than by term statistics.
public ConstantScoreQuery ConstantScore(float score = 1)
Parameters
scorefloat