Elasticsearch有没有统计指定索引文档总数较为精确的方法?
看看这个能否帮到你
https://blog.csdn.net/pony_maggie/article/details/105300196