GET /twitter/tweet/_count?q=user:kimchy GET /twitter/tweet/_count { "query" : { "term" : { "user" : "kimchy" } } }
return
{ "count" : 1, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 } }
GET /twitter/tweet/_count?q=user:kimchy GET /twitter/tweet/_count { "query" : { "term" : { "user" : "kimchy" } } }
{ "count" : 1, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 } }