Ignore specific results - best approach? using vue-instantsearch

I have a list of products.
I have created a new “disabled” property on the product.
I want to ignore these results from search.

I can use the :transform-items custom filter and filter out the disabled products.

Is there a better way to do this?

You can filter the items on the search using the ais-configure widget. ‘Filters’ is a search parameter.

 <ais-configure   :filters="disabled:true"   />