
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
BooleanClause(Query, Occur)
Initialises a new BooleanClause with the specified query and occurrence.
Properties
Occur
Gets the occurrence type that controls how this clause affects matching and scoring.
Query
Gets the query for this clause.
Methods
Equals(BooleanClause?)
Indicates whether the current object is equal to another object of the same type.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.