I want to add facet filter to autocomplete in Magento 2. The filter is defined by user and should be used to filter the autocomplete result. For example:
User is selecting Men, assume that we have Gender facet in records, the autocomplete result should display Men products only.
How can I do that?