Elasticsearch C# NEST IndexMany Children
<p>I'm having an issue using the <strong>bulk method</strong> in NEST to <strong>index child records</strong> into Elasticsearch.</p>

<p>I am using ElasticSearch 2.3.5 and NEST 2.4.4</p>

<p>I've mapped an index as such:</p>

<pre><code>    myindex
    {
     "mappings": {
       "elasticparent": {},
        "elasticchild": {
          "_parent": {
            "type": elasticparent
          }
        }
      }
    }
</code></pre>

<p>And I've indexed the parent objects using the <strong>IndexMany</strong> method:</p>

<pre><code>    client.IndexMany&lt;elasticparent&gt;(batch, "myindex");
</code></pre>

<p>This all works well.  </p>

<p>I would now like to index the children using <strong>IndexMany</strong>.  Here's what I've tried so far:</p>

<pre><code>     client.Bulk(s =&gt; s.IndexMany(IenumerableOfChild,
                                  (bulkDescriptor, record) =&gt;
                                  bulkDescriptor.Index("myindex").Type("elasticchild").Parent(record.Id)));
</code></pre>

<p>The child and parent share the same Id integer.</p>

<p>I don't get an error, but the children never get indexed and the documents are never added to the total indexed count.</p>

<p><strong>Indexing them individually works</strong>:</p>

<pre><code>    foreach (var child in IenumerableOfChild
            {

                client.Index(child, descriptor =&gt; descriptor
                 .Parent(child.Id.ToString()).Index("myindex"));
            }
</code></pre>

<p>I don't want to index mass amounts individually.  I would like to use IndexMany to bulk index the child records.  Can someone point out what I'm doing wrong?</p>