
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
BooleanClause(Query, Occur)
Initialises a new BooleanClause with the specified query and occurrence.
Occur
Gets the occurrence type that controls how this clause affects matching and scoring.
Query
Gets the query for this clause.
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.