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