Currently I'm using facet to filter the search result. The result works perfectly with SOLR but when I switch to Azure it doesn't work anymore. The result shows all although I added filter criteria. When I troubleshooting by debugging, I found that the virtual field content_type is missing from Cloud Field Name Map, then my assumption is Virtual field cannot generate in Azure Search or I missed some configuration with it. I hope receive feedback from you guys. Thank you very much.
Ps: I think issue comes from item[facet.FieldName]. This field cannot be generated when queryable is excuted
Below is the source code for filtering by facet