Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"description": "the history id"
},
"version": {
"type": "integer",
"type": "int",
"description": "the version number"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"default": "5d"
},
"batched_reduce_size": {
"type": "number",
"type": "long",
"description": "The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.",
"default": 5
},
Expand Down Expand Up @@ -101,7 +101,7 @@
"description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit"
},
"from": {
"type": "number",
"type": "int",
"description": "Starting offset (default: 0)"
},
"ignore_unavailable": {
Expand Down Expand Up @@ -162,7 +162,7 @@
"description": "Search operation type"
},
"size": {
"type": "number",
"type": "int",
"description": "Number of hits to return (default: 10)"
},
"sort": {
Expand All @@ -182,7 +182,7 @@
"description": "A list of fields to extract and return from the _source field"
},
"terminate_after": {
"type": "number",
"type": "long",
"description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."
},
"stats": {
Expand All @@ -204,7 +204,7 @@
"description": "Specify suggest mode"
},
"suggest_size": {
"type": "number",
"type": "long",
"description": "How many suggestions to return in response"
},
"suggest_text": {
Expand Down Expand Up @@ -241,7 +241,7 @@
"description": "Specify whether to return sequence number and primary term of the last modification of each hit"
},
"max_concurrent_shard_requests": {
"type": "number",
"type": "int",
"description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests",
"default": 5
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"description": "Specifies the name of the index that you would like an explanation for"
},
"shard": {
"type": "number",
"type": "int",
"description": "Specifies the ID of the shard that you would like an explanation for"
},
"primary": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"description": "Return settings in flat format (default: false)"
},
"wait_for_metadata_version": {
"type": "number",
"type": "long",
"description": "Wait for the metadata version to be equal or greater than the specified metadata version"
},
"wait_for_timeout": {
Expand Down
4 changes: 2 additions & 2 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,7 +67,7 @@
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"min_score": {
"type": "number",
"type": "double",
"description": "Include only documents with a specific `_score` value in the result"
},
"preference": {
Expand Down Expand Up @@ -114,7 +114,7 @@
"description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored"
},
"terminate_after": {
"type": "number",
"type": "long",
"description": "The maximum count for each shard, upon reaching which the query execution will terminate early"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"description": "Explicit operation timeout"
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
"description": "Explicit operation timeout"
},
"if_seq_no": {
"type": "number",
"type": "long",
"description": "only perform the delete operation if the last operation that has changed the document has the specified sequence number"
},
"if_primary_term": {
"type": "number",
"type": "long",
"description": "only perform the delete operation if the last operation that has changed the document has the specified primary term"
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"description": "The field to use as default where no field prefix is given in the query string"
},
"from": {
"type": "number",
"type": "long",
"default": 0,
"description": "Starting offset (default: 0)"
},
Expand Down Expand Up @@ -123,15 +123,15 @@
"description": "Explicit timeout for each search request. Defaults to no timeout."
},
"max_docs": {
"type": "number",
"type": "long",
"description": "Maximum number of documents to process (default: all documents)"
},
"sort": {
"type": "list",
"description": "A comma-separated list of <field>:<direction> pairs"
},
"terminate_after": {
"type": "number",
"type": "long",
"description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."
},
"stats": {
Expand Down Expand Up @@ -162,7 +162,7 @@
"description": "Sets the number of shard copies that must be active before proceeding with the delete by query operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)"
},
"scroll_size": {
"type": "number",
"type": "long",
"default": 1000,
"description": "Size on the scroll request powering the delete by query"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"description": "A list of fields to extract and return from the _source field"
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"description": "A list of fields to extract and return from the _source field"
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"description": "Whether vectors should be excluded from _source"
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"description": "A list of fields to extract and return from the _source field"
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand Down
6 changes: 3 additions & 3 deletions rest-api-spec/src/main/resources/rest-api-spec/api/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"description": "Explicit operation timeout"
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand All @@ -94,11 +94,11 @@
"description": "Specific version type"
},
"if_seq_no": {
"type": "number",
"type": "long",
"description": "only perform the index operation if the last operation that has changed the document has the specified sequence number"
},
"if_primary_term": {
"type": "number",
"type": "long",
"description": "only perform the index operation if the last operation that has changed the document has the specified primary term"
},
"pipeline": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"max_num_segments": {
"type": "number",
"type": "long",
"description": "The number of segments the index should be merged into (default: dynamic)"
},
"only_expunge_deletes": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"params": {
"order": {
"type": "number",
"type": "int",
"description": "The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers)"
},
"create": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@
"description": "Search operation type"
},
"max_concurrent_searches": {
"type": "number",
"type": "int",
"description": "Controls the maximum number of concurrent searches the multi search api will execute"
},
"typed_keys": {
"type": "boolean",
"description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response"
},
"pre_filter_shard_size": {
"type": "number",
"type": "long",
"description": "A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint."
},
"max_concurrent_shard_requests": {
"type": "number",
"type": "int",
"description": "The number of concurrent shard requests each sub search executes concurrently per node. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests",
"default": 5
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response"
},
"max_concurrent_searches": {
"type": "number",
"type": "long",
"description": "Controls the maximum number of concurrent searches the multi search api will execute"
},
"rest_total_hits_as_int": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"description": "Specifies if requests are real-time as opposed to near-real-time (default: true)."
},
"version": {
"type": "number",
"type": "long",
"description": "Explicit version number for concurrency control"
},
"version_type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"description": "The interval for the second sampling of threads"
},
"snapshots": {
"type": "number",
"type": "long",
"default": 10,
"description": "Number of samples of thread stacktrace (default: 10)"
},
"threads": {
"type": "number",
"type": "long",
"default": 3,
"description": "Specify the number of threads to provide information for (default: 3)"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)"
},
"max_concurrent_shard_requests": {
"type": "number",
"type": "int",
"description": "The number of concurrent shard requests per node executed concurrently when opening this point-in-time. This value should be used to limit the impact of opening the point-in-time on the cluster",
"default": 5
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`."
},
"max_docs": {
"type": "number",
"type": "int",
"description": "Maximum number of documents to process (default: all documents)"
},
"require_alias": {
Expand Down
14 changes: 7 additions & 7 deletions rest-api-spec/src/main/resources/rest-api-spec/api/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit"
},
"from": {
"type": "number",
"type": "int",
"default": 0,
"description": "Starting offset (default: 0)"
},
Expand Down Expand Up @@ -151,7 +151,7 @@
"description": "Search operation type"
},
"size": {
"type": "number",
"type": "int",
"default": 10,
"description": "Number of hits to return (default: 10)"
},
Expand All @@ -178,7 +178,7 @@
"description": "Whether vectors should be excluded from _source"
},
"terminate_after": {
"type": "number",
"type": "long",
"default": 0,
"description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."
},
Expand All @@ -201,7 +201,7 @@
"description": "Specify suggest mode"
},
"suggest_size": {
"type": "number",
"type": "long",
"description": "How many suggestions to return in response"
},
"suggest_text": {
Expand Down Expand Up @@ -246,17 +246,17 @@
"description": "Specify if request cache should be used for this request or not, defaults to index level setting"
},
"batched_reduce_size": {
"type": "number",
"type": "long",
"description": "The number of shard results that should be reduced at once on the coordinating node. This value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.",
"default": 512
},
"max_concurrent_shard_requests": {
"type": "number",
"type": "int",
"description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests",
"default": 5
},
"pre_filter_shard_size": {
"type": "number",
"type": "long",
"description": "A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint."
},
"rest_total_hits_as_int": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
},
"params": {
"if_seq_no": {
"type": "number",
"type": "long",
"description": "only perform the update operation if the last operation that has changed the document has the specified sequence number"
},
"if_primary_term": {
"type": "number",
"type": "long",
"description": "only perform the update operation if the last operation that has changed the document has the specified primary term"
},
"refresh": {
Expand Down
Loading