IFulltext QueryTDocumentWhere Method
Filter the results of this query by the given predicate.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The current instance.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
IFulltextQuery<TDocument> Where(
Expression<Func<TDocument, bool>> predicate
)VB
Function Where (
predicate As Expression(Of Func(Of TDocument, Boolean))
) As IFulltextQuery(Of TDocument)Parameters
- predicate ExpressionFuncTDocument, Boolean
- A function to test each document for a condition.
Return Value
IFulltextQueryTDocumentThe current instance.
Exceptions
| ArgumentNullException | Occurs when predicate is null. |