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

Add the compliant "Direct" doc-value format

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.0 (main)
    • None
    • core/codecs
    • None
    • New, Patch Available
    • Yes

    Description

      In an effort to keep the "Direct" doc-value format in future release, we moved them to doc-value iterators. Any review would be appreciated.

      Main changes include:

      • Use DocValuesIterator instead of LegacyDocValues.java in DirectDocValuesProducer;
      • Embed iterator implementation inside DirectDocValuesConsumer for code reuse;
      • All test cases have been run successfully and included in pull request;

      P.S. Our business scenario:

      • Save the inventory in Direct doc-value format;
      • Update them in memory with high-frequency without persistence;
      • Load inventory from data storage during app ignite;

      Attachments

        1. LUCENE-10251-20211231.patch
          67 kB
          spike liu
        2. LUCENE-10251-20211222.patch
          61 kB
          spike liu
        3. compliant_direct_doc-value_format.patch
          44 kB
          spike liu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              spike.liu spike liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h