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

Don't use mutable FixedBitSets as live docs Bits

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.4, 8.0
    • None
    • None
    • New

    Description

      Simon mentioned this idea first: it would be nice to not expose mutable fixedbitsets as live docs, which makes it easy for consumers of live docs to resurrect some documents by casting to a FixedBitSet and potentially corrupt the index.

      Attachments

        1. LUCENE-8309.patch
          7 kB
          Adrien Grand

        Activity

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: