What would be the best way to migrate Solr cores to elastic search indices ?
The solr-river-plugin (https://github.com/javanna/elasticsearch-river-solr) is deprecated.
There's a nice adhoc Python tool made with love by the nice folks at OpenSource Connections that you can use to do this:
https://github.com/o19s/solr-to-es
Simply
./solr-to-es solr_url elasticsearch_url elasticsearch_index doc_type
For instance, the command below will page through all documents on the local Solr node, named node
, and submit them to the local Elasticsearch server in the index my_index
with a document type of my_type
.
./solr-to-es.py localhost:8983/solr/node localhost:9200 my_index my_type
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With