Skip to content

Commit 96c4bd9

Browse files
authored
[DOCS] Remove support for unmapped_type:string sort (#78272)
* [DOCS] Remove support for `unmapped_type:string` sort Adds an 8.0 breaking change for PR #45675. * Clarify error * Reset mapping changes
1 parent 1f490bc commit 96c4bd9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/reference/migration/migrate_8_0/search.asciidoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66
//Installation and Upgrade Guide
77

88
//tag::notable-breaking-changes[]
9+
[[remove-unmapped-type-string]]
10+
.The `unmapped_type: string` sort option has been removed.
11+
[%collapsible]
12+
====
13+
*Details* +
14+
Search requests no longer support the `unmapped_type: string` sort option.
15+
Instead, use `unmapped_type: keyword` to handle an unmapped field as if it had
16+
the `keyword` field type but ignore its values for sorting.
17+
18+
*Impact* +
19+
Discontinue use of `unmapped_type: string`. Search requests that include the
20+
`unmapped_type: string` sort option will return shard failures.
21+
====
22+
923
[[id-field-data]]
1024
.Aggregating and sorting on `_id` is disallowed by default.
1125
[%collapsible]

0 commit comments

Comments
 (0)