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

Add DocValue support for RangeFields

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: main (9.0), 8.2
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I'm opening this issue to discuss adding DocValue support to {Int|Long|Float|Double}Range field types. Since existing numeric range fields already provide the methods for encoding ranges as a byte array I think this could be as simple as adding syntactic sugar to existing range fields that simply build an instance of BinaryDocValues using that same encoding. I'm envisioning something like doc.add(IntRange.newDocValuesField("intDV", 100) But I'd like to solicit other ideas or potential drawbacks to this approach.

        Attachments

        1. LUCENE-8362.patch
          49 kB
          Atri Sharma
        2. LUCENE-8362.patch
          48 kB
          Atri Sharma
        3. LUCENE-8362.patch
          48 kB
          Atri Sharma
        4. LUCENE-8362.patch
          48 kB
          Atri Sharma
        5. LUCENE-8362.patch
          48 kB
          Atri Sharma
        6. LUCENE-8362.patch
          58 kB
          Atri Sharma
        7. LUCENE-8362.patch
          46 kB
          Atri Sharma
        8. LUCENE-8362.patch
          43 kB
          Atri Sharma
        9. LUCENE-8362-approach2.patch
          17 kB
          Atri Sharma
        10. LUCENE-8362.patch
          10 kB
          Atri Sharma

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nknize Nick Knize
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: