Scripted fields on large number of data

I have a ES index with millions of records. Currently records are fetched using scroll api and are paginated. Also all fields are sortable.
I have request for new additional fields (dependent on already existing fields). So wanted to use scripted fields.
Can we apply scripted fields clubbed with scroll api?
Can we have scripted fields data sorted?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.