anchor.diff:  IMPORTANT: Indices created in Elasticsearch 6.0.0 or later may only contain a
   single <<mapping-type,mapping type>>.  Indices created in 5.x with multiple
   mapping types will continue to function as before in Elasticsearch 6.x.
  -Mapping types will be completely removed in Elasticsearch 7.0.0.
  +Types will be deprecated in APIs in Elasticsearch 7.0.0, and completely
  +removed in 8.0.0.
   
   [float]
   === What are mapping types?
  
positive.code: 
  In case of implicit index creation, because of documents that get indexed in
  an index that doesn't exist yet, the template is always honored. This is
  usually not a problem due to the fact that typless index calls work on typed
  indices.
  
negative.code: // NOTCONSOLE
  
  [float]
  === Typeless APIs in 7.0
  
  In Elasticsearch 7.0, each API will support typeless requests,
  and specifying a type will produce a deprecation warning. Certain
  typeless APIs are also available in 6.7, to enable a smooth upgrade
  path to 7.0.
  
  [float]
  ==== Indices APIs
  
  Index creation, index template, and mapping APIs support a new `include_type_name`
  url parameter that specifies whether mapping definitions in requests and responses
  should contain the type name. The parameter defaults to `true` in version 6.7 to
  match the pre-7.0 behavior of using type names in mappings. It defaults to `false`
  in version 7.0 and will be removed in version 8.0.
  
  See some examples of interactions with Elasticsearch with this option provided:
  
  [source,js]
  --------------------------------------------------
  PUT index?include_type_name=false
  {
    "mappings": {
      "properties": { <1>
        "foo": {
          "type": "keyword"
        }
      }
    }
  }
  --------------------------------------------------
  // CONSOLE
  <1> Mappings are included directly under the `mappings` key, without a type name.
  
  [source,js]
  --------------------------------------------------
  PUT index/_mappings?include_type_name=false
  {
    "properties": { <1>
      "bar": {
        "type": "text"
      }
    }
  }
  --------------------------------------------------
  // CONSOLE
  // TEST[continued]
  <1> Mappings are included directly under the `mappings` key, without a type name.
  
  [source,js]
  --------------------------------------------------
  GET index/_mappings?include_type_name=false
  --------------------------------------------------
  // CONSOLE
  // TEST[continued]
  
  The above call returns
  
  [source,js]
  --------------------------------------------------
  {
    "index": {
      "mappings": {
        "properties": { <1>
          "foo": {
            "type": "keyword"
          },
          "bar": {
            "type": "text"
          }
        }
      }
    }
  }
  --------------------------------------------------
  // CONSOLE
  // TESTRESPONSE
  <1> Mappings are included directly under the `mappings` key, without a type name.
  
  [float]
  ==== Index templates
  
  It is recommended to make index templates typeless before upgrading to 7.0 by
  re-adding them with `include_type_name` set to `false`.
  