Skip to content

Commit

Permalink
[DOCS] Document empty first line support for msearch API (elastic#78284)
Browse files Browse the repository at this point in the history
Adds an 8.0 breaking change for PR elastic#41011
  • Loading branch information
jrodewig authored Sep 27, 2021
1 parent 9f3b251 commit b20939f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/reference/migration/migrate_8_0/search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@
//Installation and Upgrade Guide

//tag::notable-breaking-changes[]
[[msearch-empty-line-support]]
.The multi search API now parses an empty first line as action metadata in text files.
[%collapsible]
====
*Details* +
The multi search API now parses an empty first line as empty action metadata
when you provide a text file as the request body, such as when using curl's
`--data-binary` flag.
The API no longer supports text files that contain:
* An empty first line followed by a line containing only `{}`.
* An empty first line followed by another empty line.
*Impact* +
Don't provide an unsupported text file to the multi search API. Requests that
include an unsupported file will return an error.
====

[[remove-unmapped-type-string]]
.The `unmapped_type: string` sort option has been removed.
[%collapsible]
Expand Down

0 comments on commit b20939f

Please sign in to comment.