You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Anders Hessellund Jensen (JIRA)" <ji...@apache.org> on 2009/08/26 16:59:59 UTC

[jira] Commented: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

    [ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747964#action_12747964 ] 

Anders Hessellund Jensen commented on SOLR-1129:
------------------------------------------------

The patch only addresses binding of dynamic fields  in one direction, that is, converting documents to beans. The other direction, converting beans to documents, does not work. Attempting to index a bean with dynamic fields using the SolrServer.addBean() method does fails to correctly index the dynamic fields.

> 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, SOLR-1129.patch, SOLR-1129.patch, 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.