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

Support for index/search large numeric field

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 6.0
    • None
    • None
    • New

    Description

      Currently if an number is larger than Long.MAX_VALUE, we can't index/search that in lucene as a number. For example, IPv6 address is an 128 bit number, so we can't index that as a numeric field and do numeric range query etc.

      It would be good to support BigInteger / BigDecimal

      I've tried use BigInteger for IPv6 in Elasticsearch and that works fine, but there are still lots of things to do
      https://github.com/elasticsearch/elasticsearch/pull/5758

      Attachments

        1. LUCENE-5596.patch
          136 kB
          Kevin Wang
        2. LUCENE-5596.patch
          96 kB
          Kevin Wang

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              kzwang Kevin Wang
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: