anchor.diff:  --------------------------------------------------
   // CONSOLE
   <1> <<indices-create-index,Creates an index>> called `twitter` without any type mapping.
  -<2> Uses the PUT mapping API to add a new mapping type called `user`.
  -<3> Uses the PUT mapping API to add a new field called `email` to the `user` mapping type.
  +<2> Uses the PUT mapping API to add a new field called `email` to the `_doc` mapping type.
   
   More information on how to define type mappings can be found in the
   <<mapping,mapping>> section.
  
positive.code: {}
  
  PUT twitter/_mapping/_doc <2>
  {
    "properties": {
      "name": {
        "type": "text"
      }
    }
  }
  
  PUT twitter/_mapping/_doc <3>
  {
    "properties": {
      "email": {
  
negative.code: [[indices-put-mapping]]
  == Put Mapping
  
  The PUT mapping API allows you to add fields to an existing index or to change search only settings of existing fields.
  
  [source,js]
  --------------------------------------------------
  