Skip to content

Commit 581393e

Browse files
committed
Review feedback
1 parent 7559219 commit 581393e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/reference/migration/migrate_8_0/search.asciidoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@
77

88
//tag::notable-breaking-changes[]
99
[[_type-search-matches-no-docs]]
10-
.A search on the `_type` field now matches no documents.
10+
.Searches on the `_type` field are no longer supported.
1111
[%collapsible]
1212
====
1313
*Details* +
14-
A search on the `_type` metadata field now matches no documents, regardless of
15-
the query string. In 7.x, a search for `_doc` in the `_type` field would match
16-
the same documents as a `match_all` query.
14+
The `_type` metadata field has been removed. {es} now handles a search on the
15+
`_type` field as a search on a non-existent field. A search on a non-existent
16+
field matches no documents, regardless of the query string.
17+
18+
In 7.x, a search for `_doc` in the `_type` field would match the same documents
19+
as a `match_all` query.
1720
1821
*Impact* +
1922
Remove queries on the `_type` field from your search requests and search

0 commit comments

Comments
 (0)