Size parameter

How can I set the Size parameter so it returns all documents?

Never do that!

Use scan & scroll API if you want to get back all the documents.