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

Fix max/min aggs for unsigned_long #63904

Merged

Commits on Oct 19, 2020

  1. Fix max/min aggs for unsigned_long

    Max and min aggs were producing wrong results for unsigned_long field
    if field was indexed. If field is indexed for max/min aggs instead of
    field data, we use values from indexed Points, values of which
    are derived using method pointReaderIfPossible. Before
    UnsignedLongFieldType#pointReaderIfPossible was incorrectly
    producing values, as it failed to shift them back to original
    values.
    
    This patch fixes method pointReaderIfPossible to produce
    correct original values.
    
    Relates to elastic#60050
    mayya-sharipova committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    e173810 View commit details
    Browse the repository at this point in the history