You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/08/16 14:38:00 UTC

[jira] [Updated] (SOLR-17412) Skip nested atomic updates for non-existent child docs

     [ https://issues.apache.org/jira/browse/SOLR-17412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SOLR-17412:
----------------------------------
    Labels: patch-with-test pull-request-available  (was: patch-with-test)

> Skip nested atomic updates for non-existent child docs
> ------------------------------------------------------
>
>                 Key: SOLR-17412
>                 URL: https://issues.apache.org/jira/browse/SOLR-17412
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: UpdateRequestProcessors
>            Reporter: Tim Owen
>            Priority: Minor
>              Labels: patch-with-test, pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The new functionality introduced in SOLR-15213 for atomic updates allows a nested atomic update for a child document i.e. you can do an atomic update for a root document which also contains child documents and do atomic updates on those. This is really useful, however the current behaviour for cases where the child document doesn't exist is to throw a Bad Request exception. There is an update processor {{SkipExistingDocumentsProcessor}} which allows you to skip atomic updates to documents if they don't exist, quietly. However this doesn't identify nested atomic updates because the logic for merging nested atomic updates based on the actual block of documents in the index is done inside {{AtomicUpdateDocumentMerger}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org