Section navigation

Public classSealed BooleanClause

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

Pairs a Query with an Occur specifying how it participates in a BooleanQuery.

public sealed class BooleanClause : IEquatable<BooleanClause>
Inheritance
BooleanClause
Implements

Public constructor BooleanClause(Query, Occur)

Initialises a new BooleanClause with the specified query and occurrence.

Public property Occur

Gets the occurrence type that controls how this clause affects matching and scoring.

Public property Query

Gets the query for this clause.

Public method Equals(BooleanClause?)

Indicates whether the current object is equal to another object of the same type.

Public method Equals(object?)

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

Public method GetHashCode()

Serves as the default hash function.