Question: I am getting error whenever i tried to give the below mappings.

Is there anything you need to do for "copy\_to".

```
PUT myindex/mytype/_mapping
{
  "mappings": {
  "properties": {
  "manufacturer": {
    "type": "string",
    "copy_to": "full_make_model_name"
  },
  "name": {
    "type": "string",
    "copy_to": "full_make_model_name"
  },
  "full_make_model_name": {
    "type": "string",
    "index": "analyzed"
  }
 }
}
}

```

Answer: 
Try:

```
PUT myindex/_mapping/mytype
{
  "properties": {
  "manufacturer": {
    "type": "string",
    "copy_to": "full_make_model_name"
  },
  "name": {
    "type": "string",
    "copy_to": "full_make_model_name"
  },
  "full_make_model_name": {
    "type": "string",
    "index": "analyzed"
  }
 }
}

```

<https://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-put-mapping.html#indices-put-mapping>
My ES version is 7.2,I sove this problem like this

```js
"mappings":{
 "properties":{
  "article":{
   "properties":{
    "id":{"type": "long","store": true},
    "title":{"type": "text","store": true,"index": true,"analyzer": "standard"},
    "content":{"type": "text","store": true,"index": true,"analyzer": "standard"}
   }
  }
 }
}
```

[Reference](https://www.elastic.co/guide/en/elasticsearch/reference/7.2/indices-put-mapping.html#indices-put-mapping)