How to get the file size of document what you search

I want to get the file size of result what i search for,how to write the dsl for it.

what do you mean by "file size"? how many bytes the response from ES is (for example http response from ES API)?

i mean the disk space occupied by document what you search,for example search 10000 document may be take up 10m disk space。