Script with ES

Hi,

Someone can explain me how i can built a script for adding new field
with the update function. I don' know mvel and how it works.

If you know an other method to add a new field without reindex and use
the update method you can ^^

Thanks !

First, you can always do a get to the document, add the field to the source
doc you get back, and reindex it. Using update, see this:
https://groups.google.com/forum/?fromgroups#!topic/elasticsearch/FEPueLnG-mM
.

On Wed, Apr 18, 2012 at 1:42 PM, Jérome pivertjerome@gmail.com wrote:

Hi,

Someone can explain me how i can built a script for adding new field
with the update function. I don' know mvel and how it works.

If you know an other method to add a new field without reindex and use
the update method you can ^^

Thanks !