es6版本
java取值
long count = search.getHits().getTotalHits();
es7版本
java取值
long count = search.getHits().getTotalHits().value;
标签:count,search,java,long,条数,elasticsearch,版本,取值 From: https://www.cnblogs.com/pxblog/p/17123277.html
es6版本
java取值
long count = search.getHits().getTotalHits();
es7版本
java取值
long count = search.getHits().getTotalHits().value;
标签:count,search,java,long,条数,elasticsearch,版本,取值 From: https://www.cnblogs.com/pxblog/p/17123277.html