title: Solr Index : Parent / Child documents
body: <p>I'm using Solr to index some contents but currently, theses contents are suposed to be parent / child related.</p>
  
  <p>I'm having something like that:</p>
  
  <pre><code>&lt;doc&gt;
    &lt;id&gt;*an Id*&lt;/id&gt;
    &lt;path&gt;*a path*&lt;/path&gt;
    &lt;title&gt;*a title*&lt;/title&gt;
    &lt;type&gt;**Page**&lt;/type&gt;
  &lt;/doc&gt;
  &lt;doc&gt;
    &lt;id&gt;*an other Id*&lt;/id&gt;
    &lt;path&gt;*a other path*&lt;/path&gt;
    &lt;title&gt;*a other title*&lt;/title&gt;
    &lt;type&gt;**Component**&lt;/type&gt;
  &lt;/doc&gt;
  </code></pre>
  
  <p>But I would like to have something close to that:</p>
  
  <pre><code>&lt;doc&gt;
    &lt;id&gt;*an Id*&lt;/id&gt;
    &lt;path&gt;*a path*&lt;/path&gt;
    &lt;title&gt;*a title*&lt;/title&gt;
    &lt;type&gt;**Page**&lt;/type&gt;
    &lt;child&gt;
      &lt;id&gt;*an Id*&lt;/id&gt;
      &lt;path&gt;*a path*&lt;/path&gt;
      &lt;title&gt;*a title*&lt;/title&gt;
      &lt;type&gt;**Component**&lt;/type&gt;
    &lt;/child&gt;
  &lt;/doc&gt;
  </code></pre>
  
  <p>I'm wondering if it's possible and how can I manage to define my <code>schema.xml</code> on that way?</p>
  
  <p>I'm using <code>Solr 3.6</code> and I can't change it.</p>
  
  <p>I hope someone can give me a hand.</p>
  
  <p>Regards,
  Dekx.</p>