CreateOrQuery

SearchQuery.CreateOrQuery method

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

public static SearchQuery CreateOrQuery(SearchQuery leftQuery, SearchQuery rightQuery)
Parameter Type Description
leftQuery SearchQuery The left child query.
rightQuery SearchQuery The right child query.

Return Value

A combined OR query.

See Also