CreateNotQuery
Leave feedback
On this page
Creates an inverted query that will find all documents in an index except the ones that will be found for the original query.
public static SearchQuery CreateNotQuery(SearchQuery query)
| Parameter | Type | Description |
|---|---|---|
| query | SearchQuery | The query to invert. |
A combined NOT query.
- class SearchQuery
- namespace GroupDocs.Search
- assembly GroupDocs.Search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.