Skip to content

Commit b20939f

Browse files
authored
[DOCS] Document empty first line support for msearch API (#78284)
Adds an 8.0 breaking change for PR #41011
1 parent 9f3b251 commit b20939f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/reference/migration/migrate_8_0/search.asciidoc

+19
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@
66
//Installation and Upgrade Guide
77

88
//tag::notable-breaking-changes[]
9+
[[msearch-empty-line-support]]
10+
.The multi search API now parses an empty first line as action metadata in text files.
11+
[%collapsible]
12+
====
13+
*Details* +
14+
The multi search API now parses an empty first line as empty action metadata
15+
when you provide a text file as the request body, such as when using curl's
16+
`--data-binary` flag.
17+
18+
The API no longer supports text files that contain:
19+
20+
* An empty first line followed by a line containing only `{}`.
21+
* An empty first line followed by another empty line.
22+
23+
*Impact* +
24+
Don't provide an unsupported text file to the multi search API. Requests that
25+
include an unsupported file will return an error.
26+
====
27+
928
[[remove-unmapped-type-string]]
1029
.The `unmapped_type: string` sort option has been removed.
1130
[%collapsible]

0 commit comments

Comments
 (0)