How to write nested schema.xml in solr The document in schema.xml says
<!-- points to the root document of a block of nested documents. Required for nested document support, may be removed otherwise --> <field name="_root_" type="string" indexed="true" stored="false"/> http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=markup Which can be used in https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-BlockJoinQueryParsers 1) What will be schema.xml for nesting the following items: - Person string - Address - city string - postcode string 2) I am using Mapreduce to generate index using contrib package. What extra needs to be done for consuming nested schema's Thanks.