Use `global_ordinals_hash` execution mode when sorting by sub aggregations. #26014
Aug 10, 2017
Sorry I missed this pr, a broader protection has been added with
I think that makes sense. We'd need to apply the other heuristics that we have in the factory such as whether there is a parent bucket aggregation. But then I'm a bit annoyed by the fact that we'd be making most decisions at the Aggregator level while it really belongs to the factory. Not sure, maybe you have opinions/ideas around that?