Db autopatch like functionality for ES

I am curious if https://github.com/tacitknowledge/autopatch like libraries
exist for managing schema updates to elasticsearch clusters.

If not what is the best practice for automating updates to the schema in
ES?

I could see the need for some library that detects a breaking schema change
and then kicks off a process to reindex else it just updates the mapping
and moves on.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hello Ben,

I think the most common practice is to run a
scrollhttp://www.elasticsearch.org/guide/reference/api/search/scroll/though
all the data in your current index and re-index it in a new index.
Then, remove the now-outdated index.

That would only be necessary when you have some braking changes existing
fields from your mapping. If you want to add a new field, just post a
mapping with that field and your new mapping will be merge with the old one.

Because of that, another practice I've heard of is to use
multi-fieldhttp://www.elasticsearch.org/guide/reference/mapping/multi-field-type/to
index new stuff with different settings in the same field. This works
around the need to re-index, but searching across old and new data would be
difficult/impossible.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Mon, May 13, 2013 at 7:36 PM, Ben Siemon ben.siemon@opower.com wrote:

I am curious if GitHub - tacitknowledge/autopatch: An automated database patching framework for Java. like
libraries exist for managing schema updates to elasticsearch clusters.

If not what is the best practice for automating updates to the schema in
ES?

I could see the need for some library that detects a breaking schema
change and then kicks off a process to reindex else it just updates the
mapping and moves on.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.