Section navigation

Public classSealed FunctionQuery

Namespace
Rowles.LeanCorpus.Search.Queries
Assembly
Rowles.LeanCorpus.dll

Matches every live document and scores it from a DoubleValuesSource.

public sealed class FunctionQuery : Query, IEquatable<Query>
Inheritance
FunctionQuery
Implements
Inherited Members
Extension Methods

Public constructor FunctionQuery(DoubleValuesSource)

Initialises a function query.

Public property Field

Gets the single field this query targets, or an empty value for fieldless and multi-field queries.

Public property ValuesSource

Gets the source used to produce document scores.

Public method CreateWeight(IndexSearcher)

Creates a custom weight for this query, or null to use built-in dispatch.

Public method Equals(object?)

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

Public method GetHashCode()

Serves as the default hash function.