Click or drag to resize

IFulltextQueryTDocumentWhere Method

Filter the results of this query by the given predicate.

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

Parameters

predicate
Type: System.Linq.ExpressionsExpressionFuncTDocument, Boolean
A function to test each document for a condition.

Return Value

Type: IFulltextQueryTDocument
The current instance.
Exceptions
ExceptionCondition
ArgumentNullExceptionOccurs when predicate is null.
See Also