I need to copy the Solr index in PosgreSQL for another project. Is there an easy way to dump an index into a text file (something like pg_dump) or iterate over each primary key so that I can load them one at a time?
Solr supports CSV output format . But note that only saved fields can be returned.