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

Remove deprecated `type` and `slop` field in `match` query #26720

Merged
merged 1 commit into from Sep 20, 2017

Conversation

Projects
None yet
5 participants
@cbuescher
Member

cbuescher commented Sep 20, 2017

The type field has been deprecated in 5.0 and can be removed. It has been
replaced by using the phrase or the phrase_prefix query. The slop field has
also been deprecated and can be removed. The phrase and phrase_prefix
query still support this parameter.

Remove deprecated type and slop field in MatchQueryBuilder
The `type` field has been deprecated in 5.0 and can be removed. It has been
replaced by using the MatchPhraseQueryBuilder or the
MatchPhrasePrefixQueryBuilder. The `slop` field has also been deprecated and can
be removed, the phrase and phrase prefix query builders still provide this
parameter.
@jimczi

jimczi approved these changes Sep 20, 2017

LGTM

@cbuescher cbuescher merged commit 22e200e into elastic:master Sep 20, 2017

2 checks passed

CLA Commit author is a member of Elasticsearch
Details
elasticsearch-ci Build finished.
Details

cbuescher added a commit that referenced this pull request Sep 20, 2017

Remove deprecated type and slop field in MatchQueryBuilder (#26720)
The `type` field has been deprecated in 5.0 and can be removed. It has been
replaced by using the MatchPhraseQueryBuilder or the
MatchPhrasePrefixQueryBuilder. The `slop` field has also been deprecated and can
be removed, the phrase and phrase prefix query builders still provide this
parameter.

cbuescher added a commit that referenced this pull request Sep 20, 2017

Remove deprecated type and slop field in MatchQueryBuilder (#26720)
The `type` field has been deprecated in 5.0 and can be removed. It has been
replaced by using the MatchPhraseQueryBuilder or the
MatchPhrasePrefixQueryBuilder. The `slop` field has also been deprecated and can
be removed, the phrase and phrase prefix query builders still provide this
parameter.

jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Sep 20, 2017

Merge branch 'master' into global-checkpoint-sync
* master:
  [DOCS] Added index-shared4 and index-shared5.asciidoc
  BulkProcessor flush runnable preserves the thread context from creation time (#26718)
  Catch exceptions and inform handler in RemoteClusterConnection#collectNodes (#26725)
  [Docs] Fix name of character filter in example. (#26724)
  Remove parse field deprecations in query builders (#26711)
  #26720: Set the correct bwc version after backport to 6.0
  Remove deprecated type and slop field in MatchQueryBuilder (#26720)
  Refactoring of Gateway*** classes (#26706)
  Make RestHighLevelClient's Request class public (#26627)
  Deguice ActionFilter (#26691)
  aggs: Allow aggregation sorting via nested aggregation.
  Build: Set bwc builds to always set snapshot (#26704)
  File Discovery: Remove fallback with zen discovery (#26667)

@colings86 colings86 added v6.0.0-rc1 >breaking and removed v6.0.0 labels Sep 22, 2017

@lcawl lcawl removed the v6.1.0 label Dec 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment