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

Allow DocValues updates to reset a value

Details

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

    Description

      Today once a document has a value in a certain DV field this values
      can only be changed but not removed. While resetting / removing a value
      from a field is certainly a corner case it can be used to undelete a
      soft-deleted document unless it's merged away.
      This allows to rollback changes without rolling back to another commitpoint
      or trashing all uncommitted changes. In certain cenarios it can be used to
      "repair" history of documents in distributed systems.

      Attachments

        1. LUCENE-8298.patch
          31 kB
          Simon Willnauer
        2. LUCENE-8298.patch
          40 kB
          Simon Willnauer
        3. LUCENE-8298.patch
          46 kB
          Simon Willnauer
        4. LUCENE-8298.patch
          49 kB
          Simon Willnauer
        5. LUCENE-8298.patch
          49 kB
          Simon Willnauer

        Activity

          People

            Unassigned Unassigned
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: