Solr to Elasticsearch Migrator
This will migrate a Solr node to an Elasticsearch index.
Requirements
Python 2.7+
elasticsearch
pysolr
Usage
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.
solr-to-es.py 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
Metadata
Release files for solr-to-es 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| solr-to-es-0.2.1.tar.gz | 2.9 kB | Without provenance | Details for solr-to-es-0.2.1.tar.gz |
Release files / solr-to-es-0.2.1.tar.gz
| Download URL | solr-to-es-0.2.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3987c8b1aa3e583c52c1a23d1d41041a92131697fe44949b687d58887b3382a4
|
|
BLAKE2b-256 checksum How to use checksums |
5161b6db88c416c642d241801a490d1e7058bc8a0c53f778a4daf0ebf17a8150
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for solr-to-es 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.