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

Allow GrowableWriter to store negative values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 4.4
    • None
    • None
    • New

    Description

      For some use-cases, it would be convenient to be able to store negative values in a GrowableWriter, for example to use it in FieldCache: The first term is the minimum value and one could use a GrowableWriter to store deltas between this minimum value and the current value. (The need for negative values comes from the fact that maxValue - minValue might be larger than Long.MAX_VALUE.)

      Attachments

        1. LUCENE-5063.patch
          17 kB
          Adrien Grand
        2. LUCENE-5063.patch
          28 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: