Performance of post_filter


I have a question about performance of post_filter. According to the legacy document (definitive guide), performance consideration is required and it should be used only in combination with aggregations. However, the latest reference document has never mentioned about performance thing. Is it still be required to consider?

I understand that the post_filter is only applied to the hits. So, if the doc set is very large, filter is better since the doc set could be smaller. But our usual doc set is not so large, which has total 12M docs and 400K docs are associated with a problematic query, which shows bad query performance.

Could you please let me know if you have any comments or/and suggestions.


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