Not able to add a new field (nested) in existing index (ES 7.1)

{
  "index": "myindex",
  "body": {
    "properties": {
      "tags": {
        "type": "nested"
      }
    }
  }
}

Output: Caught exception: type is required for Put

{
  "index": "myindex",
  "type": "_doc",
  "include_type_name": "ignore_conflicts",
  "ignore_conflicts": true,
  "body": {
    "properties": {
      "tags": {
        "type": "nested"
      }
    }
  }
}

Caught exception: "include_type_name" is not a valid parameter. Allowed parameters are "allow_no_indices", "client", "custom", "expand_wildcards", "filter_path", "human", "ignore_conflicts", "ignore_unavailable", "master_timeout", "timeout", "update_all_types"

Hi @Ravip !!

Maybe this post can help you.

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