使用from/size进行Elasticsearch排序

Vip*_*pin 3 sorting elasticsearch

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 the from/size support sorting for the whole set.

Will it sort the whole set and takes 100 records at a time?

Thanks,

jhi*_*den 5

排序将首先发生,然后大小将在分类后记录100-200.