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

103 lines
3.8 KiB
JSON
Raw Normal View History

{
"indices.stats": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-stats/",
"methods": ["GET"],
"url": {
"path": "/_stats",
2013-05-27 11:42:04 -04:00
"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"
},
2013-05-27 11:42:04 -04:00
"metric_family" : {
"type" : "enum",
"values" : ["docs", "fielddata", "fields", "filter_cache", "flush", "get", "groups", "id_cache", "ignore_indices", "indexing", "merge", "refresh", "search", "store", "warmer"],
"description" : "Limit the information returned to a specific metric"
},
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"
},
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"
},
"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"
},
"fields": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "A comma-separated list of fields for `fielddata` 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_indices": {
2013-05-27 11:42:04 -04:00
"type" : "enum",
"options" : ["none","missing"],
"default" : "none",
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
},
"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
}
}