Skip to main content

update and add a new field in elasticsearch to existing elasticsearch index

POST megacorp/_update_by_query
{
  "script": {
    "source": "ctx._source.FILE_NAME = 'TEST_FILE_NAME'"
 
  },
  "query": {
    "match_all": {}
  }
}

Comments