Filter Hits from AutoComplete - Shopify Hooks

I am trying to exclude certain hits results when one uses our AutoComplete in Shopify.

I see we must use Hooks but I am unsure what to use and have hit a roadblock.

For instance, I suspect I would be able to gather the hits data and exclude based on those products data, ie:

If a product contains a metafield that has a value of TRUE exclude it from the result.

Any ideas on what to utilize for hooks to simply get that data and exclude it from AutoComplete?