Pulling more than 10000 records from elasticsearch query

You can use size and from parameters to display by default up to 10000 records to your users. If you want to change this limit, you can change index.max_result_window setting but be aware of the consequences (ie memory).
You can use the search after feature to do deep pagination.
You can use the Scroll API if you want to extract a resultset to be consumed by another tool later.