You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jpountz pointed out that we could use JSONPath to define paths to properties in aggregations. This would be a new syntax and would replace the old a>b.c style syntax. We could add a config option to enable the older syntax for bwc. The new syntax would allow for complex aggregation paths for use in reducers to, for example, get properties from a particular bucket in an aggregation, or retrieve all the values of the property c in all the buckets even if c is three levels down the aggregation tree. It would also give a standard way to access the root of the agg tree (with '$').
After looking at JSONPath it's not 100% good fit for aggregation paths and there are other efforts looking at JSONPath-like functionality elsewhere in the product, so closing this for now
After looking at JSONPath it's not 100% good fit for aggregation paths and there are other efforts looking at JSONPath-like functionality elsewhere in the product, so closing this for now
Have any of these other efforts given results? JSONPath or JSONPath-like functionality would be useful to me, so I'd be very interested to hear about this.
@jpountz pointed out that we could use JSONPath to define paths to properties in aggregations. This would be a new syntax and would replace the old
a>b.c
style syntax. We could add a config option to enable the older syntax for bwc. The new syntax would allow for complex aggregation paths for use in reducers to, for example, get properties from a particular bucket in an aggregation, or retrieve all the values of the propertyc
in all the buckets even if c is three levels down the aggregation tree. It would also give a standard way to access the root of the agg tree (with '$').for reference see: http://goessner.net/articles/JsonPath/
The text was updated successfully, but these errors were encountered: