Table of Contents

Public classSealed BooleanClause

Namespace
Rowles.LeanLucene.Search.Queries
Assembly
Rowles.LeanLucene.dll

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

public sealed class BooleanClause : IEquatable<BooleanClause>
BooleanClause

Constructors

Public constructor BooleanClause(Query, Occur)

Initialises a new BooleanClause with the specified query and occurrence.

Properties

Public propertyRead-only Occur

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

Public propertyRead-only Query

Gets the query for this clause.

Methods

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.