is there a way to only return keys in aggregations that match a certain pattern?
I have an aggregation on sports that returns
Football => 100,
Handball => 50,
Hockey => 40,
Racquetball => 30,
Tennis => 20
Now I just want to return keys that contain "ball" , so in this example Tennis and Hockey would not make it into the aggregation.
I saw the bucket_selector which I think would solve this but it can only work with numbers?
Thank you so much