[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Avlesh Singh updated SOLR-1129: ------------------------------- Attachment: SOLR-1129.patch All the changes as discussed earlier, have been implemented. SolrJ can now be used to bind dynamic fields using any one of these {code:java} @Field("*_random") public Map<String, Integer> random; @Field("categories_*") public Map<String, String[]> categories; @Field("oem_*") public Map<String, List<String>> oem; @Field("supplier_*") public List<String> allSuppliers; @Field("supplier_*") public String supplier; @Field("supplier_*") public void setSuppliers(String[] allSuppliers){} {code} The attached patch also contains a test case for the above mentioned usages. Cheers Avlesh > 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 > Assignee: Noble Paul > Fix For: 1.4 > > Attachments: SOLR-1129.patch, SOLR-1129.patch > > > 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.