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

Allow doc-values to be updated atomically together with a document

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.4, 8.0
    • None
    • None
    • None
    • New, Patch Available

    Description

      Today we can only update a document by deleting all previously indexed documents for the given term. In some cases like when deletes are not `final` in the way that documents that are marked as deleted should not be merged away a `soft-delete` is needed which is possible when doc-values updates can be done atomically just like delete and add in updateDocument(s)

      This change introduces such a soft update that reuses all code paths from deletes to update all previously updated documents for a given term instead of marking it as deleted. This is a spinnoff from LUCENE-8198

      Attachments

        1. LUCENE-8200.patch
          32 kB
          Simon Willnauer
        2. LUCENE-8200.patch
          65 kB
          Simon Willnauer
        3. LUCENE-8200.patch
          40 kB
          Simon Willnauer

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment