anchor.diff:  [[indices-put-mapping]]
   == Put Mapping
   
  -The PUT mapping API allows you to add a new type to an existing index, or add new
  -fields to an existing type:
  +The PUT mapping API allows you to add fields to an existing index or to change search only settings of existing fields.
   
   [source,js]
   --------------------------------------------------
  
positive.code: {}
  
  PUT twitter/_mapping/_doc <2>
  {
    "properties": {
      "name": {
        "type": "text"
      }
    }
  }
  
  PUT twitter/_mapping/_doc <3>
  {
    "properties": {
      "email": {
  
negative.code: 
  Each <<mapping-params,mapping parameter>> specifies whether or not its setting
  can be updated on an existing field.
  