jprante / elasticsearch-knapsack

Knapsack plugin is an import/export tool for Elasticsearch
Apache License 2.0
472 stars 77 forks source link

Import data only (no settings, no mappings) #74

Closed arnaudbriche closed 9 years ago

arnaudbriche commented 9 years ago

Hi,

It seems like it's currently not possible to only import the raw data, with no settings and mappings reapplied. What I'd like to do is to let knapsack import the raw data and have elasticsearch with auto index creation on and some templates to allow developpers to restore the data while applying their own modified mapping (with templates).

jprante commented 9 years ago

If you pass the parameter with_metadata=false to knapsack import, it will not create indices or mappings. Default is true.

arnaudbriche commented 9 years ago

Works great. Thx