Composite aggregation Pattern Support

I want to get documents of a particular pattern in my aggregation. If I use termsAggregation then I can use "include" to mark a pattern but this is not the case with composite aggregation. I need use something like include to get all the documents of a particular pattern in composite aggregation. AfterKey doesn't work here because it doesn't support pattern only hard values. Could you please help me?

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