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

Support for index/search large numeric field

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          96 kB
          Kevin Wang
        2. LUCENE-5596.patch
          136 kB
          Kevin Wang

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                kzwang Kevin Wang
              • Votes:
                3 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: