[
https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702985#action_12702985
]
Noble Paul commented on SOLR-1129:
----------------------------------
few comments
* The patch does not apply on trunk. fix for an older version is not possible
* I am not sure if the following cases are handled
{code:java}
@Field("supplier_*")
public List<String> suppliers;
@Field("oem_*")
public String[] oem;
{code}
* We may not need to support LinkedHashMap as the type of the field . I don't
think Solr preserves order
* No injection time matching . field.matches("^"+fieldName+"$") is expensive.
Create and cache the Pattern object well in advance.
> 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
> Attachments: 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.