lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <gge...@gmail.com>
Subject Re: Solr Child="true" flag in version 6.4
Date Tue, 18 Apr 2017 08:16:30 GMT
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.eluvathingal@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message