SearchQueryCreateOrQuery Method
Creates a combined query that will find all the documents which will be found at least for one of the original queries.

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.11
Syntax
public static SearchQuery CreateOrQuery(
	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 OR query.
See Also