lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avlesh Singh (JIRA)" <>
Subject [jira] Updated: (SOLR-1129) SolrJ cannot bind dynamic fields to beans
Date Fri, 22 May 2009 04:57:46 GMT


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

public Map<String, Integer> random;

public Map<String, String[]> categories;

public Map<String, List<String>> oem;

public List<String> allSuppliers;

public String supplier;

public void setSuppliers(String[] allSuppliers){}

The attached patch also contains a test case for the above mentioned usages. 


> SolrJ cannot bind dynamic fields to beans
> -----------------------------------------
>                 Key: SOLR-1129
>                 URL:
>             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.

View raw message