Hello, This is puzzling. Are you sure you have recent DIH jar at that core? Sometimes the old one can remain at lib directory. One odd thing in the config is that category values are not limited with something like WHERE categoryvalues.categoryid=${category.id} Can you share verbose debug output?
18 апр. 2017 г. 8:48 пользователь "donjose" <donjose.eluvathin...@socgen.com> написал: > I am getting flat structure. > Expected Result : > { > Category : "Shirt", > CategoryId : 1 > Categoryvalues : [ > { > id : 1, > size : XL, > color : red > }, > { > id : 2, > size : XL, > color : blue > } > > ] > } > > Result i am getting: > Categoryvalues : > { > id : 1, > Category : "Shirt", > CategoryId : 1, > size : XL, > color : red > } > , > { > id : 2, > Category : "Shirt", > CategoryId : 1, > size : XL, > color : blue > } > > > > Data-config.xml > =================== > <dataConfig> > <dataSource driver="oracle.jdbc.OracleDriver" url="jdbcurl" > user="username" password="password" /> > <document name="Categories"> > <entity name="ASSETCATEGORY" query="SELECT id, categoryid, category > from category"> > <field column="id" name="id" /> > <field column="categoryid" name="categoryid" /> > <field column="category" name="category" /> > <entity name="Values" query="SELECT id,size,color from > categoryvalues"> > <field column="id" name="id" /> > <field column="size" name="size" /> > <field column="color" name="color" /> > </entity> > </entity> > </document > </dataconfig> > > > > -- > View this message in context: http://lucene.472066.n3.nabble > .com/Solr-Child-true-flag-in-version-6-4-tp4330312p4330437.html > Sent from the Solr - User mailing list archive at Nabble.com. >