Closed rhysrevans3 closed 2 years ago
@agstephens @Mahir-Sparkess do either of you have any strong opinions on this?
That looks really good. Since the spatial/temporal aggregation is using a separate call anyways splitting the elasticsearch aggregator into multiple extraction methods won't increase the number of calls made. As well as number aggregator needs to be different when calling as well compared to the term so all that makes sense. 👍
@rhysrevans3: I don't have a strong opinion - but the middle option is the quickest/easiest to understand if you were reading or writing the rules.
How should the Elasticsearch aggregator behave?
Currently
Alternate solutions
Hard coded (current):
Specified in config:
Different extractors for different types: