title: How to write nested schema.xml in solr?
body: <p>How to write nested schema.xml in solr</p>
  
  <p>The document in schema.xml says</p>
  
  <pre><code>&lt;!-- points to the root document of a block of nested documents. Required for nested
  document support, may be removed otherwise
  --&gt;
  &lt;field name="_root_" type="string" indexed="true" stored="false"/&gt;
  </code></pre>
  
  <p><a href="http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=markup" rel="noreferrer">http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=markup</a></p>
  
  <p>Which can be used in </p>
  
  <p><a href="https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-BlockJoinQueryParsers" rel="noreferrer">https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-BlockJoinQueryParsers</a></p>
  
  <p>What will be schema.xml for nesting the following items:</p>
  
  <ul>
  <li>Person string</li>
  <li>Address
  <ul>
  <li>city string</li>
  <li>postcode string</li>
  </ul></li>
  </ul>