
FunctionScoreQuery
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.dll
Boosts an inner query's relevance score by a numeric field value.
public sealed class FunctionScoreQuery : Query, IEquatable<Query>
- Inheritance
-
FunctionScoreQuery
- Inherited Members
- Extension Methods
Constructors
FunctionScoreQuery(Query, string, ScoreMode)
Initialises a new FunctionScoreQuery wrapping the given inner query.
Properties
Field
Gets the primary field this query targets.
Inner
Gets the inner query whose score is used as the base for the function score.
Mode
Gets the mode that controls how the numeric field value is combined with the query score.
NumericField
Gets the name of the numeric field whose value modifies the base score.
Methods
Combine(float, double, ScoreMode)
Combines a query score with a numeric field value according to the specified ScoreMode.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.