Erick Erickson resolved SOLR-12022.
    Resolution: Invalid

Please raise this question on the user's list at solr-u...@lucene.apache.org, 
see: (http://lucene.apache.org/solr/community.html#mailing-lists-irc) there are 
a _lot_ more people watching that list who may be able to help. 

If it's determined that this really is a code issue in Solr and not a 
configuration/usage problem, we can raise a new JIRA or reopen this one.

This is puzzling:
We are using Solrj version 4.10.4 as the java client to add documents into Solr 
version 1.4.1. Are you really indexing to Solr 1.4?

It is a near certainty that no fixes will be made for 4.10.4 at this point so 
unless this is shown to still be a problem in the 7x code line it won't be 
addressed in all likelihood.

> Solrj SolrServer not converting the Collection of Pojo Objects inside Parent 
> Pojo
> ---------------------------------------------------------------------------------
>                 Key: SOLR-12022
>                 URL: https://issues.apache.org/jira/browse/SOLR-12022
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 4.10.4
>            Reporter: Rajesh Vijayakumar
>            Priority: Major
> We are using Solrj version 4.10.4 as the java client to add documents into 
> Solr version 1.4.1
> Sample Pojo Object:
> @SolrDocument(solrCoreName="customer")
> public class Customer{
> private String customerId;
> private String customerName;
> private int age;
> private List<Address> addresses;
> //getters and setters
> }
> public class Address{
> private String street;
> private String city;
> private String state;
> private String country;
> private Long zip;
> //getters and setters
> }
> When indexing the customer Document with the below schema
> <field name="customerId" type="string" multiValued="false" indexed="true" 
> required="true" stored="true"/>
> <field name="customerName" type="string" multiValued="false" indexed="false" 
> required="true" stored="true"/>
> <field name="age" type="int" multiValued="false" indexed="true" 
> required="true" stored="true"/>
> <field name="addresses" type="String" multiValued="true" indexed="true" 
> required="true" stored="true"/>
> Customer document that gets indexed in Solr is having the Address Object 
> Memory 
> <arr><string>Address@spjdspf13</str><str>Address@sdf535</str></arr>
> reference as arr of elements instead of individual fields of Address.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to