Skip to content

Commit

Permalink
[API] Added the terminate_after parameter to the REST spec for "Cou…
Browse files Browse the repository at this point in the history
…nt" API

Closes #26895
  • Loading branch information
karmi committed Oct 8, 2017
1 parent f9e5529 commit 377a43c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rest-api-spec/src/main/resources/rest-api-spec/api/count.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
"lenient": {
"type" : "boolean",
"description" : "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored"
},
"terminate_after" : {
"type" : "number",
"description" : "The maximum count for each shard, upon reaching which the query execution will terminate early"
}
}
},
Expand Down

0 comments on commit 377a43c

Please sign in to comment.