您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

将数据从Solr迁移到elasticsearch

将数据从Solr迁移到elasticsearch

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
Solr 2022/1/1 18:22:52 有502人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶