Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add StringStats aggregation #4370

Merged
merged 1 commit into from
Feb 10, 2020
Merged

Add StringStats aggregation #4370

merged 1 commit into from
Feb 10, 2020

Commits on Feb 6, 2020

  1. Add StringStats aggregation

    This commit adds support for the string_stats aggregation introduced in
    Elasticsearch 7.6.0. It is a metric aggregation but does not implement
    IMetricAggregation because the type of Missing field is a string and not a
    double value. Missing is implemented as object as the hierarchy of
    metric aggregations will be changed as part of #4332, and Missing
    will be an object.
    
    The documentation for StringStats indicates that the distribution is returned
    in descending probability order, but are modelled as a JSON object. Following
    internal discussion, this is modelled as a dictionary on the response as it is
    considered this modelling will not diminish functionality.
    
    Closes #4369
    russcam committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    5c6cc23 View commit details
    Browse the repository at this point in the history