Skip to content

Commit 377a43c

Browse files
committed
[API] Added the terminate_after parameter to the REST spec for "Count" API
Closes #26895
1 parent f9e5529 commit 377a43c

File tree

1 file changed

+4
-0
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/api

1 file changed

+4
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/count.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
"lenient": {
6868
"type" : "boolean",
6969
"description" : "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored"
70+
},
71+
"terminate_after" : {
72+
"type" : "number",
73+
"description" : "The maximum count for each shard, upon reaching which the query execution will terminate early"
7074
}
7175
}
7276
},

0 commit comments

Comments
 (0)