Skip to content

BigDataBoutique/solr-schema-to-es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Solr schema to ES mapping converter

Usage

python solr2es-mapping.py /path/to/solr/schema.xml

it will produce ES mapping in /path/to/solr/schema.xml.json

Then it can be used to create ES indices:

curl -H 'Content-Type: application/json' -X PUT localhost:9200/new_index -d @/path/to/solr/schema.xml.json

Custom language analyzers are created from Solr definitions instead of reusing ES built-in ones.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages