title: How to set include_type_name in postman to true
body: <p>I am creating a mapping index in postman and am getting the error below.
  I am trying to create an index that would communicate with my elastic search firebase server using a function I have created index.js. What could be the problem?</p>
  
  <p>Here is my code</p>
  
  <pre><code>"mappings":{
          "properties":{
                  "city":{
                      "type": "text"
                  },
                  "contact_email":{
                      "type": "text"
                  },
                  "country":{
                      "type": "text"
                  },
                  "description":{
                  "type": "text"
                  },
                  "image":{
                  "type": "text"
                  },
                  "post_id":{
                      "type": "text"
                  },
                  "state_province":{
                      "type": "text"
                  },
                  "title":{
                      "type": "text"
                  }
              }
          }
      }
  </code></pre>
  
  <p>Here is the code to index.js function</p>
  
  <pre><code>const functions = require('firebase-functions');
  
  const request = require('request-promise')
  
  exports.indexPostsToElastic = functions.database.ref('/posts/{post_id}')
          .onWrite((change,context) =&gt;{
          let postData = change.after.val();
          let post_id = context.params.post_id;
  
          console.log('Indexing post',postData);
  
          let elasticSearchConfig = functions.config().elasticsearch;
  
  
          let elasticSearchUrl = elasticSearchConfig.url + 'posts/' + post_id;
          let elasticSearchMethod = postData ? 'POST' : 'DELETE';
  
          let elasticSearchRequest = {
              method:elasticSearchMethod,
                  url: elasticSearchUrl,
                  auth:{
                      username : elasticSearchConfig.username,
                      password : elasticSearchConfig.password,
                  },
                  body: postData,
                  json : true
                };
                return request(elasticSearchRequest).then(response =&gt; {
                    console.log("ElasticSearch response", response);
                    return response;
                });
              });
  </code></pre>
  
  <p>I am getting the following error in firebase</p>
  
  <pre><code>StatusCodeError: 400 - {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [posts] as the final mapping would have more than 1 type: [_doc, -LcajBAxUn3jrq0EHzYa]"}],
  </code></pre>
  
  <p>Here is a sample of my database in firebase</p>
  
  <pre><code>-LcajBAxUn3jrq0EHzYa
  
  city:
  
  contact_email:
  
  country:
  
  description:
  
  image:
  
  post_id:
  
  price:
  
  state_province:
  
  title: 
  </code></pre>
  
  <p>Please help me identify where my error could be.</p>