Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6851

Allow using other implementations of Format with NumericConfig

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.2.1
    • Fix Version/s: None
    • Component/s: modules/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trejkaz Trejkaz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: