Issue in implementing post filters

I am implementing a post-filter in the search query. I am obtaining successful results when applying the filter to some fields, but not for one specific field. I have also checked the mapping, and everything appears to be similar for all the fields. However, the filter is applying to some fields but not to others.
(Post Filters: {'bool': {'must': [{'terms': {'field.enum': '[value]'}}]}})
Can anyone have idea about this?

Hi @Rahul_Gajjar,

Can you add more context to the question?

What could help answer the question:

  • Mapping of the index that you're querying (only posting the mapping for fields that you query will help)
  • What are the fields this post filter works well for?
  • What are the fields this post filter does not work for?
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.