Post_filter and collapse. Is that possible?

(Stephan Daratha) #1


I was glad that I found by help of this page that elasticsearch has the collapse function.

But now I have the problem why I search for collapse again.
It is the post_filter.

I want to aggragate some conditions of objects first and then filter them from the hits.

But the problem is that the post_filter doesn't work on the inner_hits, too.

Is there any possibilty to do that or will I have to do a second request to get the perfect aggregation?

Thank you

(system) closed #2

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