Advance Query filter
We are using .net front end REST API to get the results from index server. I am using advance query parameter to filter the records based on the custom field values. The advance query parameter filter the record that don't have particular custom filter. I want to filter the record like if filed is there then apply the filter, otherwise include that document into results set regardless the filter value.
How to frame the query to achieve above scenario?
You can use an expression that looks like
@foo==value OR NOT @foo