ElasticSearch ignores "from" when using "scroll" during search? -
when testing elasticsearch, have noticed that
get /vitex.inventory/items/_search?scroll=1m { "from": 10, "size": 10 } and
get /vitex.inventory/items/_search { "from": 10, "size": 10 } does not return same result, from parameter ignored when scroll used. how so?
why can't scroll start @ specified offset?
yes, scroll needs size , from not needed.
the first scroll request retrieve size documents per shard , subsequent requests well.
no need specify from ignored anyway.
Comments
Post a Comment