forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rest Api Compatibility] Allow first empty line for msearch
The support for this buggy behaviour was removed in elastic#41011 however since this is a change that affects a request shape it should still be available to use it in rest api compatibility relates elastic#51816
- Loading branch information
Showing
4 changed files
with
99 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
server/src/test/resources/org/elasticsearch/action/search/msearch-empty-first-line1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
|
||
{ "query": {"match_all": {}}} | ||
{} | ||
{ "query": {"match_all": {}}} | ||
|
||
{ "query": {"match_all": {}}} | ||
{} | ||
{ "query": {"match_all": {}}} |
10 changes: 10 additions & 0 deletions
10
server/src/test/resources/org/elasticsearch/action/search/msearch-empty-first-line2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
|
||
{} | ||
{ "query": {"match_all": {}}} | ||
|
||
{ "query": {"match_all": {}}} | ||
{} | ||
{ "query": {"match_all": {}}} | ||
|
||
{ "query": {"match_all": {}}} |