OpenSource Connections中有一个不错的,由爱心人士精心制作的自定义Python工具,您可以用来执行以下操作:
https://github.com/o19s/solr-to-es
只是
./solr-to-es solr_url elasticsearch_url elasticsearch_index doc_type
例如,下面的命令将分页浏览名为的本地Solr节点上的所有文档
node,并将它们以
my_index文档类型的索引提交给本地Elasticsearch服务器
my_type。
./solr-to-es.py localhost:8983/solr/node localhost:9200 my_index my_type



