XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      When it comes to indexing floating-point data, doubles and floats are quite space-intensive even though full precision is rarely needed. So maybe we should consider exposing half floats?

      Half floats have 5 bits for the exponent and 11 bits (including the implicit bit) for the mantissa so the minimum value is ~6x10−8, the maximum is 65504 and they can represent all integers between -2048 and 2048 accurately.

        Attachments

        1. LUCENE-7289.patch
          27 kB
          Adrien Grand
        2. LUCENE-7289.patch
          23 kB
          Adrien Grand

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: