Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12368

in-place DV updates should no longer have to jump through hoops if field does not yet exist

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: None
    • Labels:
      None

      Description

      When SOLR-5944 first added "in-place" DocValue updates to Solr, one of the edge cases thta had to be dealt with was the limitation imposed by IndexWriter that docValues could only be updated if they already existed - if a shard did not yet have a document w/a value in the field where the update was attempted, we would get an error.

      LUCENE-8316 seems to have removed this error, which i believe means we can simplify & speed up some of the checks in Solr, and support this situation as well, rather then falling back on full "read stored fields & reindex" atomic update

        Attachments

        1. SOLR-12368.patch
          17 kB
          Munendra S N
        2. SOLR-12368.patch
          19 kB
          Munendra S N
        3. SOLR-12368.patch
          19 kB
          Munendra S N
        4. SOLR-12368.patch
          6 kB
          Simon Willnauer

          Issue Links

            Activity

              People

              • Assignee:
                munendrasn Munendra S N
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: