Partial Update creates too many fields

(Muhamadli302) #1

Hi all,

I'm using partial update in order to insert an extra field to some of the docs in an index.
I'm using python and reading the _id and data from a file.
Here is the query:
es.update(index_name="name", doc_type="log", id=sid, body={"doc":{"Scrore":score}})

And in ES, I see that I have extra 2000 docs with the field that weren't in the original file!
Why could this happen?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.