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 wrong status code for SearchPhaseExecutionException #19851

Closed

Commits on Aug 7, 2016

  1. Fix wrong status code for SearchPhaseExecutionException.

    Updated SearchPhaseExecutionException to determine the status from the cause if one exists and there were no shard failures.
    
    Throw exception if (date) histogram order path is invalid and there is only one bucket.
    Forced check of sub-aggregation names and fields used in (date) histogram order path if there is only one bucket. The previous code relied on the sorting code (bypassed if less than 2 buckets) to do this check. Ideally these checks should be performed during parsing instead of the reduce phase.
    
    Closes elastic#14771
    qwerty4030 committed Aug 7, 2016
    Configuration menu
    Copy the full SHA
    44af6be View commit details
    Browse the repository at this point in the history