We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a458f1e commit 54e2c95Copy full SHA for 54e2c95
rest-api-spec/src/main/resources/rest-api-spec/test/search/30_limits.yml
@@ -44,6 +44,22 @@ setup:
44
scroll: 5m
45
size: 10010
46
47
+---
48
+"Request with size exceeding max integer value":
49
+ - do:
50
+ catch: bad_request
51
+ search:
52
+ rest_total_hits_as_int: true
53
+ index: test_1
54
+ body:
55
+ query:
56
+ match_all: {}
57
+ size: 2147483648
58
+
59
+ - match: { status: 400 }
60
+ - match: { error.type: input_coercion_exception }
61
+ - match: { error.reason: "Numeric value (2147483648) out of range of int (-2147483648 - 2147483647" }
62
63
---
64
"Rescore window limits":
65
- do:
0 commit comments