SearchQueryCreateNotQuery Method
Creates an inverted query that will find the rest documents in an index against ones which will be found for the original query.

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 19.10.1
Syntax
public static SearchQuery CreateNotQuery(
	SearchQuery query
)

Parameters

query
Type: GroupDocs.SearchSearchQuery
The query to invert.

Return Value

Type: SearchQuery
A combined NOT query.
See Also