Skip to content

auphone/elasticsearch-migration-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch migration script

A simple migration script written in CoffeeScript.

Install

cd elasticsearch-migration-script
npm install

Configuration

Change the es configuration in config.json

{
  "bulkSize": 1000,
  "origin": {
    "host": "localhost:9200",
    "version": "1.7",
    "index": "twitter",
    "type": "tweet"
  },
  "target": {
    "host": "localhost:9201",
    "version": "5.5",
    "index": "twitter",
    "type": "tweet"
  }
}

Run the script

coffee index.coffee

Good luck!

About

Script for migrating elasticsearch from 1.x to 5.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors