jprante / elasticsearch-knapsack

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

different settings/mappings #2

Closed jprante closed 11 years ago

jprante commented 11 years ago

Hi,

nice idea! I will add more parameters to _import so different "_settings" and "_mapping" files can be used from anywhere in the filesystem, overrding the tar archive content.

I think of the pattern

<indexname>_settings=<filename>

and

<indexname>_<mappingname>_mapping=<filename>

Best regards,

Jörg

Hello, We're using your Knapsack plugin to seed data to our production ES cluster. Great tool! Thank you so much. I was wondering if you've thought about the use case where more shards are needed at the import location. Right now I'm just extracting the exported tarball, modifying index/_settings, and rebuilding the tarball. This, of course, can take quite a long while when there are over a million documents. Would it make sense if either the _import or _export handlers accepted a new number of shards?

jprante commented 11 years ago

Done with 1.0.3