[DOCS] Searches on the _type field are no longer supported#78400
Merged
jrodewig merged 3 commits intoelastic:masterfrom Sep 28, 2021
jrodewig:docs__remove-type-searches
Merged
[DOCS] Searches on the _type field are no longer supported#78400jrodewig merged 3 commits intoelastic:masterfrom jrodewig:docs__remove-type-searches
_type field are no longer supported#78400jrodewig merged 3 commits intoelastic:masterfrom
jrodewig:docs__remove-type-searches
Conversation
_type field match no docs_type field matches no docs
Adds an 8.0 breaking change for PR #68564
Collaborator
|
Pinging @elastic/es-docs (Team:Docs) |
Collaborator
|
Pinging @elastic/es-search (Team:Search) |
jtibshirani
reviewed
Sep 28, 2021
|
|
||
| //tag::notable-breaking-changes[] | ||
| [[_type-search-matches-no-docs]] | ||
| .A search on the `_type` field now matches no documents. |
Contributor
There was a problem hiding this comment.
I think a clearer way to phrase this would be "searches on _type are no longer supported". We actually completely removed support for searching on _type -- it's not recognized as a valid field. It just so happens that searches on non-existent fields will return no results. This note might suggest that _type is still a valid metadata field, whereas it doesn't exist anymore!
Contributor
Author
There was a problem hiding this comment.
Thanks @jtibshirani. I added some additional context with 581393e.
_type field matches no docs_type field are no longer supported.
_type field are no longer supported._type field are no longer supported
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.
Adds an 8.0 breaking change for PR #68564
Preview
https://elasticsearch_78400.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/migrating-8.0.html#breaking_80_search_changes