You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Petar Tahchiev (JIRA)" <ji...@apache.org> on 2013/08/12 17:26:47 UTC

[jira] [Created] (SOLR-5137) Allow localizable fields to be mapped by a map

Petar Tahchiev created SOLR-5137:
------------------------------------

             Summary: Allow localizable fields to be mapped by a map
                 Key: SOLR-5137
                 URL: https://issues.apache.org/jira/browse/SOLR-5137
             Project: Solr
          Issue Type: Improvement
            Reporter: Petar Tahchiev
            Priority: Minor


Hello everybody,

I am using SolrJ and I would really appreaciate if there was an annotation that maps the localizable fields in a map of <Locale, String>. Just like this:

{code}
public class Product {

    @LocaleField
    private Map<Locale, String> name;
}
{code}

instead of 

{code}
public class Product {
    @Field
    private String name_en;

    @Field
    private String name_fr;
    
    @Field
    private String name_de;

    //etc
}
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org