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

Allow DocValues updates to reset a value

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4, 8.0
    • Fix Version/s: 7.4, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          49 kB
          Simon Willnauer
        2. LUCENE-8298.patch
          49 kB
          Simon Willnauer
        3. LUCENE-8298.patch
          46 kB
          Simon Willnauer
        4. LUCENE-8298.patch
          40 kB
          Simon Willnauer
        5. LUCENE-8298.patch
          31 kB
          Simon Willnauer

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: