Closed ostrolucky closed 2 years ago
Hi! I will consider adding paginating with search_after
to export as Elasticsearch doesn't allow search more than index.max_result_window
(10000 by default).
I have added the option to export all documents with Scroll API.
Thanks! I was thinking this would be integrated into core transparently, but this way it also seems working. Good to see you respond to issues in timely manner, it gives me affirmation that it was good decision to pay for the licenses!
I see there is still one related problem to this, but I'll create separate issue for it :)
I wanted to use this plugin to export large index into CSV, having more than 1 billion results. However, when I increase page size beyond 10000, ES complains that result window is too large.
Plugin should paginate these results and load data in batch, not attempt to request everything at once.