How should I update the specific field


There is my index document structure:

POST org_3888/org/doctor-1/_update?pretty
  "doc": {
    "doctor_gender": "F",
    "doctor_languages": [
        "language": "English"
        "language": "Spanish"

Is there any other way to update language which is "English" as "Chinese"? cause I don't update the whole "doctor_languages" field.

(Simon Willnauer) #2

I am not sure I fully undestand the question but elasticsearch always re-indexes the entire document when you update it even if there is only a single field updates. so I guess the answer is no.

(system) closed #3

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