es7.x 版本默认最多只能查询10000 条数据。
如果需要一次查询出大于10000 的条数据,需要指定 track_total_hits = true。
body = {
"track_total_hits": "true",
"query": {}
}
es7.x 版本默认最多只能查询10000 条数据。
如果需要一次查询出大于10000 的条数据,需要指定 track_total_hits = true。
body = {
"track_total_hits": "true",
"query": {}
}
本文标题:es track_total_hits = true
本文链接:https://www.haomeiwen.com/subject/hcxxjltx.html
网友评论