Refines a search to match documents that do not meet the conditions of all of the specified filters.
The not()
function adds a not
condition to a WixSearchBuilder
. A search with a not()
returns all the documents that don't match all of the WixSearchFilters
passed to the not()
function. The
not()
function first applies an and
condition between the filter parameters and then negates them.
If a document does not meet the conditions of some but not all of the specified filters, the document
will be included in the search results.
If other filtering functions were previously used in the same WixSearchBuilder
instance, not()
is applied using an and
condition with previously set filters.
One or more filters.