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

Deprecate negative field boosts in analyzed queries #38176

Merged
merged 3 commits into from
Feb 1, 2019

Commits on Feb 1, 2019

  1. Forbid negative field boosts in analyzed queries

    This change forbids negative field boost in the `query_string`, `simple_query_string`
    and `multi_match` queries.
    Negative boosts are not allowed in Lucene 8 (scores must be positive).
    The backport of this change to 6x will turn the error into a deprecation warning
    in order to raise the awareness of this breaking change in 7.0.
    
    Closes elastic#33309
    jimczi committed Feb 1, 2019
    Configuration menu
    Copy the full SHA
    bf9bd0d View commit details
    Browse the repository at this point in the history
  2. add unmerged change

    jimczi committed Feb 1, 2019
    Configuration menu
    Copy the full SHA
    b597635 View commit details
    Browse the repository at this point in the history
  3. fix expectations in tests

    jimczi committed Feb 1, 2019
    Configuration menu
    Copy the full SHA
    6e363be View commit details
    Browse the repository at this point in the history