So what's the current best way to query (and therefore dump to say a file) all the document _ids in an index?
I have a 218,000 doc database with about 8000 documents missing (according to the document counts). To investigate I need a list of docs in the index to compare with those in my MariaDB to find the missing docs and try to see why they weren't indexed. I therefore just need to stream and dump to a file ready for import to Maria a list of IDs. A simple JOIN will do the rest.
There are older threads on this topic, but it seems much mentioned in the replies have been deprecated. Currently I am on 17.8
Sooo Just dump all the _ids of all documents into a file - in 200k+ docs efficient way. No other fields required.