SearchQueryCreateAndQuery Method
Creates a combined query that will find only documents which will be found for each original query.

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.11
Syntax
public static SearchQuery CreateAndQuery(
	SearchQuery leftQuery,
	SearchQuery rightQuery
)

Parameters

leftQuery
Type: GroupDocs.SearchSearchQuery
The left child query.
rightQuery
Type: GroupDocs.SearchSearchQuery
The right child query.

Return Value

Type: SearchQuery
A combined AND query.
See Also