Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Mappings are not exported correctly #68

@OrKoN

Description

@OrKoN

Hi,

thanks for your effort in developing this script. Unfortunately, it didn't work for me. I do the following:

   node exporter.js -a localhost -p 9201 -i <index> -g /tmp/index.es

The file index.es.meta has the following structure:

{
  "mappings": {
    "mappings": {
     ....
   }
}

When I import the index back:

node exporter.js -f /tmp/index.es -b localhost -p 9201 -i <index>

A parse error occurs:

MapperParsingException[Root type mapping not empty after parsing

If I remove an extra "mappings" key, the import seems to work.

Elastic Search 1.3.2.

Best regards,
Alex

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions