title: Custom product collection filter not working during product search with magento 2 elastic search
body: <p>I am using Magento 2 Commerce with elastic search enabled. I have a custom filtering of the product collection.</p>
  
  <p>Now, when elastic search is enabled, custom filtering don't work however with MySQL search, it does work.</p>
  
  <p>Any idea what's causing the issue or how elastic search is creating the product collection query?</p>