Commit 49842b8
committed
Remove
We do need this check to make sure we don't silently accept requests
with ignored `size` parameter specified since `max_docs` is optional.
We want to notify users that they must use `max_docs` and specifying `size`
is a mistake.
This behaviour is tested in the `reindex/20_validation/specifying size fails` test.@UpdateForV9 annotation from ReindexRequest#failOnSizeSpecified
1 parent 54eab9d commit 49842b8
File tree
1 file changed
+0
-3
lines changed- server/src/main/java/org/elasticsearch/index/reindex
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
499 | 498 | | |
500 | 499 | | |
501 | 500 | | |
502 | | - | |
503 | | - | |
504 | 501 | | |
505 | 502 | | |
506 | 503 | | |
| |||
0 commit comments