Table of Contents

Interface IBooleanOperation

Namespace
Examine.Search
Assembly
Examine.Core.dll

Defines the supported operation for addition of additional clauses in the fluent API

public interface IBooleanOperation : IOrdering, IQueryExecutor
Inherited Members
Extension Methods

Methods

And()

Sets the next operation to be AND

IQuery And()

Returns

IQuery

And(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)

Adds the nested query

IBooleanOperation And(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)

Parameters

inner Func<INestedQuery, INestedBooleanOperation>
defaultOp BooleanOperation

Returns

IBooleanOperation

AndNot(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)

Adds the nested query

IBooleanOperation AndNot(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)

Parameters

inner Func<INestedQuery, INestedBooleanOperation>
defaultOp BooleanOperation

Returns

IBooleanOperation

Not()

Sets the next operation to be NOT

IQuery Not()

Returns

IQuery

Or()

Sets the next operation to be OR

IQuery Or()

Returns

IQuery

Or(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)

Adds the nested query

IBooleanOperation Or(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)

Parameters

inner Func<INestedQuery, INestedBooleanOperation>
defaultOp BooleanOperation

Returns

IBooleanOperation