File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
docs/reference/migration/migrate_8_0 Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
//tag::notable-breaking-changes[]
9
9
[[_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 .
11
11
[%collapsible]
12
12
====
13
13
*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.
17
20
18
21
*Impact* +
19
22
Remove queries on the `_type` field from your search requests and search
You can’t perform that action at this time.
0 commit comments