API
Last updated
{
"count" : 0,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
}
}curl -i -XGET 'localhost:9200/'curl -XGET 'localhost:9200/_count?pretty' -d '
{
"query": {
"match_all": {}
}
}'GET /_count
{
"query": {
"match_all": {}
}
}