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

Add DocValue support for RangeFields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0, 8.2
    • None
    • None
    • 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.patch
          10 kB
          Atri Sharma
        10. LUCENE-8362-approach2.patch
          17 kB
          Atri Sharma

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: