You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Trejkaz (JIRA)" <ji...@apache.org> on 2015/10/23 07:44:27 UTC

[jira] [Created] (LUCENE-6851) Allow using other implementations of Format with NumericConfig

Trejkaz created LUCENE-6851:
-------------------------------

             Summary: Allow using other implementations of Format with NumericConfig
                 Key: LUCENE-6851
                 URL: https://issues.apache.org/jira/browse/LUCENE-6851
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/queryparser
    Affects Versions: 5.2.1
            Reporter: Trejkaz


NumericConfig forces me to pass in a java.text.NumberFormat.

Our own internationalisation guidelines say to avoid java.text.NumberFormat and always use com.ibm.icu.text.NumberFormat instead, because the latter does the right thing for Arabic.

I wish NumericConfig would allow me to pass in any Format, so that I didn't have to write the horrible adapter class which I am about to write. :)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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