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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -