Hello John ,

Update by query plugin would be a good choice -
https://github.com/yakaz/elasticsearch-action-updatebyquery/
Just set a match_all query.

Bulk API with updates to all the documents should also work.

Thanks
          Vineeth


On Tue, Sep 2, 2014 at 7:01 PM, John Smith <[email protected]> wrote:

> Hi I need to add a new field (with a default) to all documents already
> indexed.
>
> I guess bulk update will do it?
>
>
>  --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/3b0a5b54-a355-4ad7-86a7-286808d4de36%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/3b0a5b54-a355-4ad7-86a7-286808d4de36%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3DhWg1Jztx%3D6tKXDtzUBMKearj1uEnfvbd9M80VfhOFdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to