Table of Contents

Public classSealed 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

Public constructor FunctionScoreQuery(Query, string, ScoreMode)

Initialises a new FunctionScoreQuery wrapping the given inner query.

Properties

Public propertyRead-only Field

Gets the primary field this query targets.

Public propertyRead-only Inner

Gets the inner query whose score is used as the base for the function score.

Public propertyRead-only Mode

Gets the mode that controls how the numeric field value is combined with the query score.

Public propertyRead-only NumericField

Gets the name of the numeric field whose value modifies the base score.

Methods

Public methodStatic Combine(float, double, ScoreMode)

Combines a query score with a numeric field value according to the specified ScoreMode.

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.