Documents in Solr are flat - they contain a flat list of fields.

Depending on your requirements for the "doc inside doc", there may be several 
workarounds:

* field naming, i.e. "mysubdoc.title", "mysubdoc.author"... to flatten the 
document inside the main one
* query time join as demonstrated in the Tutorial data (manufacturer sub 
documents as separate docs)
* block-joins (faster way to index/search parent-child relationship sub docs)

Please elaborate on your exact need

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

25. juni 2013 kl. 10:32 skrev "Siva Prasad Janapati" 
<sivaprasa...@echidnainc.com>:

> 
> Hi,
> 
> I have a requirement where i need to create document inside the document. For 
> example,
> 
> <document>
> ........
> .......
> <document>
> .......
> .......
> </document>
> 
> .........
> 
> </document>
> 
> Is there any way to configure the document like this?
> 
> Regards,
> Siva
> [http://smarttechies.wordpress.com/] http://smarttechies.wordpress.com/

Reply via email to