Pagination and Vega

I want to plot graphics that need to be calculated based on all documents in my Index. I know that Elasticsearch have a maximum index number to perform queries and aggregations. I want to bypass this limit by paginating results. Is there any way to get all paginated results on a Kibana Vega visualization?