0
我用滚动查询ES,但我仍然有10条记录,我的查询如下:ElasticSearch滚动只返回10条记录
curl -XGET 'http://10.0.0.5:9200/myin/app/_search?scroll=1m' -d '{
"_source": "appAd",
"query": {
"bool": {
"must_not": {
"term": {
"app.raw": "dt"
}
}
}
}
以下是结果:
"took":467,"_shards":{"total":24,"successful":24,"failed":0},"hits":{"total":760000} ...
但只返回10条记录,尽管它达到了760000条。