title: ElasticSearch: Specifying types in bulk requests is deprecated
body: <p>I am getting a warning:</p>
  
  <pre><code>"[types removal] Specifying types in bulk requests is deprecated."]
  </code></pre>
  
  <p>What do I do wrong? This is my code:</p>
  
  <pre><code>    BulkRequest request = new BulkRequest();
  
      for(Item item : items) {
          IndexRequest indexRequest = new IndexRequest(INDEX_NAME, DOC_TYPE, item.getIdentifier());
          indexRequest
                  .opType(DocWriteRequest.OpType.INDEX) // Index the source. If there an existing document with the id, it will be replaced.
                  .source(JsonUtility.toJson(item), XContentType.JSON);
  
          request.add(indexRequest);
      }
  
      elastic.bulk(request, RequestOptions.DEFAULT);
  </code></pre>