Re: Child=true does not work for data import handler
Thanks Mikhail, i tried changing conf but that did not help -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Child=true does not work for data import handler
Thanks Mikhail verbose did help. _root_ field was missing in schema also in make some changes in child entity. Like i created id as alias to emp_id ( in child query) which is id column of parent table. Data seems to be returning correctly as below. but it show child documents and parent documents are shown as individual document. i was expecting 2 documents and 2 child document for each doc. Any inputs will be helpful "response":{"numFound":6,"start":0,"docs":[ { "dept":"IT", "id":"1", "_version_":1608073809653399552}, { "dept":"Data", "id":"1", "_version_":1608073809653399552}, { "name":"omkar", "id":"1", "_version_":1608073809653399552}, { "dept":"ITI", "id":"2", "_version_":1608073809667031040}, { "dept":"Entry", "id":"2", "_version_":1608073809667031040}, { "name":"ashwin", "id":"2", "_version_":1608073809667031040}] }} -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Child=true does not work for data import handler
Thanks a lot Mikhail. But as per documentation below nested document ingestion is possible. Is this limitation of DIH? https://lucene.apache.org/solr/guide/6_6/uploading-data-with-index-handlers.html#UploadingDatawithIndexHandlers-NestedChildDocuments Also can block join query be used to get expect relationship for data i have ingested using DIH? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Child=true does not work for data import handler
But in my case i see output as below 0 0 *:* on xml 1533734431931 IT 1 1 1608130338704326656 Data 1 2 1608130338704326656 omkar 1 1608130338704326656 ITI 2 3 1608130338712715264 Entry 2 4 1608130338712715264 ashwin 2 1608130338712715264 -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html