Update a field from a Elasticsearch document

后端 未结 2 1528
孤城傲影
孤城傲影 2020-12-07 06:37

I need to update a field in the documents indexed to Elasticsearch . How can i do it.

\"redcash_sale\": {
\"type\": \"object\"
}

update ab

2条回答
  •  失恋的感觉
    2020-12-07 07:08

    According to: https://www.elastic.co/guide/en/elasticsearch/reference/current/enabled.html

    Enabled cant be updated using the PUT mappings API.

    You have to reindex your data then.

提交回复
热议问题