CreateNotQuery

SearchQuery.CreateNotQuery method

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

public static SearchQuery CreateNotQuery(SearchQuery query)
Parameter Type Description
query SearchQuery The query to invert.

Return Value

A combined NOT query.

See Also