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

Should FieldInfos always use a dense encoding?

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • None
    • New

    Description

      Spin-off from LUCENE-8018. The dense vs. sparse encoding logic of FieldInfos introduces complexity. Given that the sparse encoding is only used when less than 1/16th of fields are used, which sounds uncommon to me, maybe we should use a dense encoding all the time?

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            1 Vote for this issue
            Watchers:
            6 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 - 2h 20m
                2h 20m

                Slack

                  Issue deployment