Updating newly added field for all records. New field value is same for all records

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7d9ce2f8-decf-4a94-8502-cb573d173c10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello Srikanth ,

Update by query is not a feature in Elasticsearch , but there is a plugin
which can do it.

PLUGIN - GitHub - yakaz/elasticsearch-action-updatebyquery: ElasticSearch Update By Query action plugin

Thanks
Vineeth

On Fri, Jul 25, 2014 at 5:01 AM, srikanth ramineni ri.srikanth@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+unsubscribe@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+unsubscribe@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.