How to exclude data

I want to be able to exclude all data with a set value, so basically a “where not equal to”.

This code works to INCLUDE “Not Available” records, once you set the Analyser to ‘keyword’.

cbft.NewMatchQuery("Not Available").Field("xxxx"),

But, I want to be able to return all records where the status is anything other than ‘Not Available’.

I have looked into NewMatchNoneQuery but that does not have the availability to set a field name.