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

Make range query rounding consistent #50237

Merged
merged 14 commits into from
Jan 31, 2020

Commits on Dec 16, 2019

  1. Make range query rounding consistent

    Currently the rounding for date math used in range queries behaves differently
    for `date` and `date_range` as explained in elastic#50009. The behaviour on `date`
    fields is the one we document in
    https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html#range-query-date-math-rounding.
    This change adapts the rounding behaviour for RangeType.DATE so it uses the same
    logic as the `date` type.
    
    Closes elastic#50009
    Christoph Büscher committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    7490304 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2019

  1. Fixing tests

    Christoph Büscher committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    07e673c View commit details
    Browse the repository at this point in the history
  2. Add date vs. date_range field duelling test

    Christoph Büscher committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    81586b6 View commit details
    Browse the repository at this point in the history
  3. Add migration note

    Christoph Büscher committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    54ecc49 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2019

  1. Configuration menu
    Copy the full SHA
    eb504ec View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2020

  1. Merge branch 'master' into daterange-rounding-fix

    Christoph Büscher committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    70f08a5 View commit details
    Browse the repository at this point in the history
  2. Add test to check query string query bounds equality on date_range an…

    …d date field
    Christoph Büscher committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    3cb6650 View commit details
    Browse the repository at this point in the history
  3. Removing leftover repeats

    Christoph Büscher committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    707cd33 View commit details
    Browse the repository at this point in the history
  4. Change migrate doc

    Christoph Büscher committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    0b17e04 View commit details
    Browse the repository at this point in the history
  5. Rework tests so they don't rely on string comparison

    Christoph Büscher committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    ac64bad View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Merge branch 'master' into daterange-rounding-fix

    Christoph Büscher committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    fd2b187 View commit details
    Browse the repository at this point in the history
  2. Removing note to put it back when backporting to 7.x

    Christoph Büscher committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    11f23e7 View commit details
    Browse the repository at this point in the history
  3. Revert "Removing note to put it back when backporting to 7.x"

    This reverts commit 11f23e7.
    Christoph Büscher committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    afaeb1a View commit details
    Browse the repository at this point in the history
  4. Removing note to put it back when backporting to 7.x

    Christoph Büscher committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    89a9b38 View commit details
    Browse the repository at this point in the history