[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702675#action_12702675 ]
Avlesh Singh commented on SOLR-1129: ------------------------------------ Thanks for creating this ticket, Noble. I have an issue with the approach you have mentioned. IMO, the client should specify the "field" to which the value belongs to. I would rather prefer a format like this - {code:java} @Field("*_s") public Map<String, Object> foo; {code} where the keys are {{dynamicField}} name's. For {{multivalued}} fields, a user might specify an {{Object[]}} as value. > SolrJ cannot bind dynamic fields to beans > ----------------------------------------- > > Key: SOLR-1129 > URL: https://issues.apache.org/jira/browse/SOLR-1129 > Project: Solr > Issue Type: Improvement > Components: clients - java > Affects Versions: 1.3 > Reporter: Noble Paul > > SolrJ does not support binding of dynamic fields to bean fields > The field declaration could be as follows > {code:java} > @Field("*_s") > public String anyString; > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.