CreateOrQuery
Contents
[
Hide
]
CreateOrQuery(SearchQuery, SearchQuery)
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
- class SearchQuery
- namespace GroupDocs.Search
- assembly GroupDocs.Search
CreateOrQuery(params SearchQuery[])
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(params SearchQuery[] queries)
Parameter | Type | Description |
---|---|---|
queries | SearchQuery[] | The child queries. |
Return Value
A combined OR query.
See Also
- class SearchQuery
- namespace GroupDocs.Search
- assembly GroupDocs.Search