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

Add IW#tryUpdateDocValues(Reader, int, Fields...)

    XMLWordPrintableJSON

Details

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

    Description

      IndexWriter can update doc values for a specific term but this might
      affect all documents containing the term. With tryUpdateDocValues
      users can update doc-values fields for individual documents. This allows
      for instance to soft-delete individual documents.
      The new method shares most of it's code with tryDeleteDocuments.

      Attachments

        1. LUCENE-8297.patch
          15 kB
          Simon Willnauer

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: