14.count-api
生活随笔
收集整理的這篇文章主要介紹了
14.count-api
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
統計索引中的文檔數量 PUT /twitter/_doc/1?refresh {"user": "kimchy" }GET /twitter/_count?q=user:kimchyGET /twitter/_count {"query" : {"term" : { "user" : "kimchy" }} }
返回
{"count" : 1,"_shards" : {"total" : 1,"successful" : 1,"skipped" : 0,"failed" : 0} }總結
以上是生活随笔為你收集整理的14.count-api的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 13.multi_search_api
- 下一篇: 15.profile-api