IFulltextQueryTDocumentWhere Method

Filter the results of this query by the given predicate.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
IFulltextQuery<TDocument> Where(
	Expression<Func<TDocument, bool>> predicate
)

Parameters

predicate  ExpressionFuncTDocument, Boolean
A function to test each document for a condition.

Return Value

IFulltextQueryTDocument
The current instance.

Exceptions

ArgumentNullExceptionOccurs when predicate is null.

See Also