Why? How would you then search it and what would you find?

Solr is not a storage database, but a search one. Faithful relationship and
depth preservation is often the wrong direction to start your modelling
from.

Regards,
    Alex

On 3 Aug 2016 2:52 AM, "Godwin Joel" <godwinj...@gmail.com> wrote:

> Hi all,
>
> I have a Java Bean like this:
>
> public class Component {
> @Field
> private double totalCoverage;
> @Field
> private List<ApplicationComponent> applicationComponents;
>
> //setters and getter
>
> }
>
> where the applicationComponents is of custom datatype,
>
> while indexing this through SolrJ, it is being inserted as:
>
> {
>         "totalCoverage":[0.0],
>
>
> "applicationComponents":["com.ApplicationComponent:com.ApplicationComponent@1f9f6368
> ",
>           "com.ApplicationComponent:com.ApplicationComponent@1c9b0314"]}]
>   }
>
> The schema was getting updated with application component as a String
> value,
>
> Any ideas on how to write custom fieldType for this or if anything can be
> handled from the Java side, maybe in the child class definition, so that
> the nested document gets indexed propely.
>
>
>
> Thanks and Regards,
> Godwin E Joel
>
> *"Once You Choose Hope, Everything's Possible."*
> P Please don't print this e-mail unless you really need to.
>

Reply via email to