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

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

    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

      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

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

              Dates

              • Created:
                Updated:
                Resolved: