Skip to content
/ solr_dump Public

Dump Solr docs to file; Write dumped docs to a Solr

License

Notifications You must be signed in to change notification settings

o19s/solr_dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solr Dump

Dump a Solr index to file; Read from dumped file to Solr. Inspired by Elasticdump. Not super polished or really intended for mass consumption (more part of Doug Turnbull's set of Solr tools). Note, the bin/solr export command may be an option.

You may be interested in a similar project called https://github.com/ubleipzig/solrdump!

Requirements

  • Python 3.0+
    • pysolr

Usage

Run the scripts directly to get the help to see how to use each one

Script for going from Solr -> line-by-line JSON (each line is a Solr JSON doc)

python solrSource.py

Script for going from dumped line-by-line JSON -> Solr

python solrDest.py

About

Dump Solr docs to file; Write dumped docs to a Solr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages