Hello Srikanth , Update by query is not a feature in Elasticsearch , but there is a plugin which can do it.
PLUGIN - https://github.com/yakaz/elasticsearch-action-updatebyquery Thanks Vineeth On Fri, Jul 25, 2014 at 5:01 AM, srikanth ramineni <ri.srika...@gmail.com> wrote: > Hi , > > I have one index having data. After that i created one new field called > TYPE. I want to update all records for newly added field(TYPE=TS) . > > Can you please provide query for the above requirement. > > Thanks in advance. > > Thanks, > Srikanth. > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/7d9ce2f8-decf-4a94-8502-cb573d173c10%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/7d9ce2f8-decf-4a94-8502-cb573d173c10%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nUGdpKZbC%2BurjGvrbdkYBPn%3Dn0JHEXVwsxxM%2BzfnNw%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.