Deprecate Indices query#17710
Merged
colings86 merged 1 commit intoelastic:masterfrom Apr 14, 2016
colings86:deprecate/indicesQuery
Merged
Deprecate Indices query#17710colings86 merged 1 commit intoelastic:masterfrom colings86:deprecate/indicesQuery
colings86 merged 1 commit intoelastic:masterfrom
colings86:deprecate/indicesQuery
Conversation
This is in favour of just searching the _index field Closes #12017
Contributor
|
This looks good to me. Let's maybe add a concrete example to the docs that shows how an IndicesQuery can be replaced with a BooleanQuery using the |
Contributor
|
Hmmm... not quite replaceable. Queries in the indices query are only parsed on the listed indices - the same is not true for bool, eg, this example creates a parent mapping on one index, but not the other: The While this query will throw an exception about missing the parent type: That's why this change depends on #12016 |
Contributor
Author
|
@clintongormley now we have #17751 and #17748 to deal with the above, are you ok for me to merge this? |
Contributor
|
+1 |
Merged
javanna
added a commit
to javanna/elasticsearch
that referenced
this pull request
Nov 30, 2016
The indices query is deprecated since 5.0.0 (elastic#17710). It can now be removed in master (future 6.0 version).
javanna
added a commit
that referenced
this pull request
Nov 30, 2016
The indices query is deprecated since 5.0.0 (#17710). It can now be removed in master (future 6.0 version).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is in favour of just searching the _index field
Closes #12017