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

MemoryIndex: Binary and Sorted doc values should not be added to a BytesRefHash

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1
    • None
    • None
    • New

    Description

      Currently when we add a binary or sorted doc value in the MemoryIndex, it will get stored in a BytesRefHash. This is not necessary as we only expect one doc value per document so they don't need to be deduped.

      In addition  a BytesRefHash has a limit on term size (~32kb) which those doc values don't have in normal codecs. Therefore as it s a different behaviour it can be considered a bug. We should store those doc values as a plain byte[] (or BytesRef). 

      Attachments

        Issue Links

          Activity

            People

              ivera Ignacio Vera
              ivera Ignacio Vera
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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