While using AEM 6.1 + Solr OOTB indexing , for a page or dam content
The parent and child nodes are getting indexed as separate document with path_exact is document id
example as seen today on AEM 6.1
Solr doc1 - /content/sample/jcr:content
Solr doc2 - /content/sample/jcr;content/par
Solr doc3 - /content/dam/sample/test.pdf
Solr doc4 - /content/dam/sample/test.pdf/jcr:content
Solr doc4 - /content/dam/sample/test.pdf/jcr:content/metadata
This is not allowing direct SOLR web API queries to get the related the documents in 1 json and those contents which are only ACTIVATED (as this is in parent node)
Is there a possibility to index the SOLR document as like this ( with entire child node with a possible control over the child depth )
Solr doc- expected for content
- /content/sample/jcr:content
child - /content/sample/jcr;content/par
Solr doc - expected for dam
/content/dam/sample/test.pdf
child - /content/dam/sample/test.pdf/jcr:content
child - /content/dam/sample/test.pdf/jcr:content/metadata
Any thoughts / pointers from AEM + SOLR team will help us
with regards
Sri