Reindex question

Hi,

Can I reindex the data into the same index/type? My goal is regenerate the
mapping for specified index/type.

Thanks!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/15848d9e-1b70-434f-a125-44e575c7a5ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No. You should use an alias to the old index.
Then read from old and copy to new.

Then switch the alias.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 27 mars 2015 à 22:10, sebastian sebastianos@gmail.com a écrit :

Hi,

Can I reindex the data into the same index/type? My goal is regenerate the mapping for specified index/type.

Thanks!

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/15848d9e-1b70-434f-a125-44e575c7a5ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/205347F1-A139-4DD8-BE2D-DF334A7E84BC%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.