Re: need help to update document fields in python

2014-03-18 Thread Honza Král
The document you will put in will be merged with the document in elasticsearch. Honza On Mar 18, 2014 6:06 PM, "PAULINE BONNEAU" wrote: > I'm sorry but I have just one more problem. I don't know what I must put > in the *document* parameter in the update function : > > update(*index*, *doc_type*

Re: need help to update document fields in python

2014-03-18 Thread PAULINE BONNEAU
I'm sorry but I have just one more problem. I don't know what I must put in the *document* parameter in the update function : update(*index*, *doc_type*, *id*, *script=None*, *lang='mvel'*, *params=None*, *document=None*, *upsert=None*, *model=None*, *bulk=False*, *querystring_args=None*, *ret

Re: need help to update document fields in python

2014-03-18 Thread PAULINE BONNEAU
Hi Honza, Thanks for your help. I will try this now. Paulyne -- 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

Re: need help to update document fields in python

2014-03-18 Thread Honza Král
Hi Paulyne, unfortunately with elasticsearch you need to update your documents one-by-one using the Update API, I am not too familiar with pyes, but it exposes the api as a method it seems: http://pyes.readthedocs.org/en/latest/references/pyes.es.html?highlight=update#pyes.es.ES.update alternativ

need help to update document fields in python

2014-03-18 Thread PAULINE BONNEAU
Hi all, I'm new here and have a problem with a query in python. I hope someone can help me ,please. My problem is : I have some documents in an index. I would like to update some document fields in the index but I don't know how. If someone can help me, please explain me how I can do th