We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The migration from ES5 to ES6 follows the recommendations from https://www.elastic.co/guide/en/elasticsearch/reference/6.0/removal-of-types.html. Document types are merged in "doc" document. Type information is stored in the join field, named "relations".
API doesn't change but the migration of data is needed. Data doesn't need modification except for sequences. Migration operations look like:
Seq( mapEntity("sequence") { seq => val oldId = (seq \ "_id").as[String] val counter = (seq \ "counter").as[JsNumber] seq - "counter" - "_routing" + ("_id" -> JsString("sequence_" + oldId)) + ("sequenceCounter" -> counter) } )
The migration process needs also to know if the index uses mapping type or not. This is done by implementing the MigrationOperations.indexType method.
MigrationOperations.indexType
The text was updated successfully, but these errors were encountered:
#82 Add support of ElasticSearch 6.x
61b536d
#82 Fix ElasticSearch configuraiton
da0dbe2
To-om
No branches or pull requests
The migration from ES5 to ES6 follows the recommendations from https://www.elastic.co/guide/en/elasticsearch/reference/6.0/removal-of-types.html. Document types are merged in "doc" document. Type information is stored in the join field, named "relations".
API doesn't change but the migration of data is needed. Data doesn't need modification except for sequences. Migration operations look like:
The migration process needs also to know if the index uses mapping type or not. This is done by implementing the
MigrationOperations.indexType
method.The text was updated successfully, but these errors were encountered: