Skip to content

Commit

Permalink
Add index name to search requests (elastic#49175)
Browse files Browse the repository at this point in the history
We can't guarantee expected request failures if search request is across
many indexes, as if expected shards fail, some indexes may return 200.

closes elastic#47743
  • Loading branch information
mayya-sharipova authored Nov 15, 2019
1 parent 213d2da commit 730faa8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ setup:
Content-Type: application/json
search:
rest_total_hits_as_int: true
index: test-index
body:
query:
script_score:
Expand All @@ -74,6 +75,7 @@ setup:
Content-Type: application/json
search:
rest_total_hits_as_int: true
index: test-index
body:
query:
script_score:
Expand Down Expand Up @@ -104,6 +106,7 @@ setup:
catch: bad_request
search:
rest_total_hits_as_int: true
index: test-index
body:
query:
script_score:
Expand All @@ -118,6 +121,7 @@ setup:
catch: bad_request
search:
rest_total_hits_as_int: true
index: test-index
body:
query:
script_score:
Expand Down Expand Up @@ -154,6 +158,7 @@ setup:
Content-Type: application/json
search:
rest_total_hits_as_int: true
index: test-index
body:
query:
script_score:
Expand All @@ -170,6 +175,7 @@ setup:
Content-Type: application/json
search:
rest_total_hits_as_int: true
index: test-index
body:
query:
script_score:
Expand Down

0 comments on commit 730faa8

Please sign in to comment.