I scroll verwendet ES abfragen, aber ich habe noch 10 Datensätze, meine Frage, wie folgend:Elasticsearch Scroll Rückkehr nur 10 Datensätze
curl -XGET 'http://10.0.0.5:9200/myin/app/_search?scroll=1m' -d '{
"_source": "appAd",
"query": {
"bool": {
"must_not": {
"term": {
"app.raw": "dt"
}
}
}
}
folgende ist das Ergebnis:
"took":467,"_shards":{"total":24,"successful":24,"failed":0},"hits":{"total":760000} ...
Aber es nur 10 Datensätze zurückgeben, obwohl es 760000 trifft.