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: [email protected]
For additional commands, e-mail: [email protected]