SCAN and Scroll in TopHits Aggregation

I have to categorize the data based on some value . For this I am using terms aggregation and get the data using TopHits aggregation. Is there a possibility to do the same scroll option here?

Any other better approach to get all the records of a bucket?
Please do let me know if needed any further information.
Thanks in advance.