title: Elasticsearch doc_type and parent_id
body: <p>I am new to ES (version 6.x), and I have read some changed about it... such as the change in doc_type, which is clearly explained <a href="https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html" rel="nofollow noreferrer">here</a>. But also the change in the parent_id, which has more info <a href="https://www.elastic.co/guide/en/elasticsearch/reference/6.x/mapping-parent-field.html" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Given that knowledge, and the information obtained by running</p>
  
  <pre><code>from elasticsearch import Elasticsearch
  es = Elasticsearch()
  es.index()
  </code></pre>
  
  <p>I see that the parameters <code>index</code>, <code>doc_type</code>, and <code>body</code> are mandatory.</p>
  
  <pre><code>TypeError: index() missing 3 required positional arguments: 'index', 'doc_type', and 'body'
  </code></pre>
  
  <p>so, why is doc_type needed here? I thought it should be avoided from now on...</p>
  
  <p>Further, when running <code>help(es.index)</code> I still see the argument for <code>parent ID</code>, which should've been replaced by a <code>join</code> field. So why is this not the case?</p>
  
  <p>I assume that I am missing some information, and so I will keep reading on, but maybe you guys can also point me in the right direction. Your help is appreciated :)</p>
  
  <p>PS:
  I am sure that I am running version 6.x, because</p>
  
  <pre><code>&gt;&gt;&gt; elasticsearch.__version__
  (6, 3, 0)
  </code></pre>