Elasticsearch scroll getting same results -
using elasticsearch 5.3.0, getting same results using srcoll api. both results , scroll_id returns remains same first call
curl -xpost 'localhost:9200/myindex/mytype/_search?scroll=1m&pretty' -h 'content-type: application/json' -d' { "size": 5, query: { "match_all": {} } } ' curl -xpost 'localhost:9200/_search/scroll?pretty' -h 'content- type: application/json' -d' { "scroll" : "1m", "scroll_id" : "copy _scroll_id" } '
Comments
Post a Comment