Re: Nested entity unrolled record

2018-09-22 Thread Mikhail Khludnev
Tanya, have you tried to designate it by  rootEntity attribute?

On Fri, Sep 21, 2018 at 11:06 PM Tanya Bompi  wrote:

> Hi,
>   I am wondering if with a nested entity using the DataImportHandler, if
> its possible to unroll the parent document with each of the child document
> as a separate entry in the index.
> I am using Solr 7.4.0 version.
>
> For eg.
> 
> 
> 
>  cacheImpl=SortedMapBackedCache" cacheKey="RecordKey" cacheLookup="Parent.
> RecordKey" >
>   
> 
> 
>
> So what i would desire the index to create multiple entries for each
> Id,Name,Country combination.
> Currently with the above config it combines all the entries of country
> together in a single field for each Parent record.
>
> What would the change look like? In my scenario, the child table has
> multiple fields and combining all the data together for each field is not
> what I desire.
>
> Kindly let me know.
> Thanks,
> Tanya
>


-- 
Sincerely yours
Mikhail Khludnev


Nested entity unrolled record

2018-09-21 Thread Tanya Bompi
Hi,
  I am wondering if with a nested entity using the DataImportHandler, if
its possible to unroll the parent document with each of the child document
as a separate entry in the index.
I am using Solr 7.4.0 version.

For eg.




  



So what i would desire the index to create multiple entries for each
Id,Name,Country combination.
Currently with the above config it combines all the entries of country
together in a single field for each Parent record.

What would the change look like? In my scenario, the child table has
multiple fields and combining all the data together for each field is not
what I desire.

Kindly let me know.
Thanks,
Tanya