mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
[API] Added the terminate_after
parameter to the REST spec for "Count" API
Closes #26895
This commit is contained in:
parent
c342cdeab5
commit
6825cafaa6
@ -67,6 +67,10 @@
|
|||||||
"lenient": {
|
"lenient": {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
"description" : "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored"
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user