Skip to main content

Export Solr Nodes to Elasticsearch Indexes

Project description

This will migrate a Solr node to an Elasticsearch index.


  • Python 2.7+
    • elasticsearch
    • pysolr


usage: solr-to-es [-h] [--solr-query SOLR_QUERY]
                  [--rows-per-page ROWS_PER_PAGE] [--es-timeout ES_TIMEOUT]
                  solr_url elasticsearch_url elasticsearch_index doc_type

The following example will page through all documents on the local Solr node, node, and submit them to the local Elasticsearch server in the index es_index with a document type of solr_docs. localhost:8983/solr/node localhost:9200 es_index solr_docs

solr_url is the url to your Solr node.

elasticsearch_url is the url of your Elasticsearch server.

elasticsearch_index is the index you will submit the Solr documents to on Elasticsearch.

doc_type is the type of document Elasticsearch should assume you are importing.

--solr-query defaults to *:*

--rows-per-page defaults to 500

--es-timeout defaults to 60

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for solr-to-es, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size solr-to-es-0.2.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page