Sorting with from/size parameter

I have to use sorting along with from and size parameters in the elastic
search query.

I am querying elastic search with 0 to 100 records and then 101 to 200
records and then 201 to 300 records. I have to sort the entire set with
salary field.

Will it sort the whole set and takes 100 records at a time or will it take
100 records and then apply sorting and then proceed similarly.

Please confirm

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit