Method Filter
Filter(IEnumerable<SearchDefinition<TDocument>>)
Adds clauses which must all match for a document to be included in the results.
public CompoundSearchDefinitionBuilder<TDocument> Filter(IEnumerable<SearchDefinition<TDocument>> clauses)
Parameters
clauses
IEnumerable<SearchDefinition<TDocument>>The clauses.
Returns
- CompoundSearchDefinitionBuilder<TDocument>
The compound search definition builder.
Filter(params SearchDefinition<TDocument>[])
Adds clauses which must all match for a document to be included in the results.
public CompoundSearchDefinitionBuilder<TDocument> Filter(params SearchDefinition<TDocument>[] clauses)
Parameters
clauses
SearchDefinition<TDocument>[]The clauses.
Returns
- CompoundSearchDefinitionBuilder<TDocument>
The compound search definition builder.