OpenSearch/rest-api-spec/api/indices.stats.json

139 lines
5.1 KiB
JSON
Raw Normal View History

{
"indices.stats": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-stats/",
"methods": ["GET"],
"url": {
"path": "/_stats",
"paths": [
"/_stats",
"/{index}/_stats",
"_stats/{metric_family}",
"/{index}/_stats/{metric_family}",
"/_stats/indexing",
"/{index}/_stats/indexing",
"/_stats/indexing/{indexing_types}",
"/_stats/search/{search_groups}",
"/{index}/_stats/search/{search_groups}",
"/_stats/fielddata/{fields}",
"/{index}/_stats/fielddata/{fields}"
],
"parts": {
"fields": {
2013-05-27 11:42:04 -04:00
"type" : "list",
"description" : "A comma-separated list of fields to return detailed information for, when returning the `search` statistics"
},
"index": {
"type" : "list",
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
},
2013-05-27 11:42:04 -04:00
"indexing_types" : {
"type" : "list",
"description" : "A comma-separated list of document types to include in the `indexing` statistics"
},
"metric_family" : {
"type" : "enum",
"options" : ["completion","docs", "fielddata", "filter_cache", "flush", "get", "groups", "id_cache", "percolate", "indexing", "merge", "refresh", "search", "store", "warmer"],
"description" : "Limit the information returned to a specific metric"
},
2013-05-27 11:42:04 -04:00
"search_groups" : {
"type" : "list",
"description" : "A comma-separated list of search groups to include in the `search` statistics"
}
},
"params": {
"all": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return all available information"
},
"clear": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Reset the default level of detail"
},
"completion": {
"type" : "boolean",
"description" : "Return information about completion suggester stats"
},
"completion_fields": {
"type" : "list",
"description" : "A comma-separated list of fields for `completion` metric (supports wildcards)"
},
"docs": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about indexed and deleted documents"
},
"fielddata": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about field data"
},
"fielddata_fields": {
"type" : "list",
2013-05-27 11:42:04 -04:00
"description" : "A comma-separated list of fields for `fielddata` metric (supports wildcards)"
},
"fields": {
"type" : "list",
"description" : "A comma-separated list of fields for `fielddata` and `completion` metric (supports wildcards)"
},
"filter_cache": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about filter cache"
},
"flush": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about flush operations"
},
"get": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about get operations"
},
"groups": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "A comma-separated list of search groups for `search` statistics"
},
"id_cache": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about ID cache"
},
"ignore_unavailable": {
"type" : "boolean",
"description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
},
"allow_no_indices": {
"type" : "boolean",
"description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"indexing": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about indexing operations"
},
"merge": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about merge operations"
},
"refresh": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about refresh operations"
},
"search": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about search operations; use the `groups` parameter to include information for specific search groups"
},
"store": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about the size of the index"
},
"warmer": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "Return information about warmers"
}
}
},
"body": null
}
}