You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/01/01 20:10:00 UTC

[jira] [Created] (SOLR-15064) Atomic/partial updates to nested docs is incompatible with implicit doc router

David Smiley created SOLR-15064:
-----------------------------------

             Summary: Atomic/partial updates to nested docs is incompatible with implicit doc router
                 Key: SOLR-15064
                 URL: https://issues.apache.org/jira/browse/SOLR-15064
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: David Smiley


Doing an atomic/partial update to a child doc requires that the update be routed to the proper shard despite the doc having an ID different than the root doc that it's associated with.  Our solution for that was to use the {{_route_}} param to supply the root document ID.  What we overlooked was the fact that implicit routers rely on that parameter to identify the shard by name.  Consequently, these two features are incompatible.

I think we must insist that such updates include the {{_root_}} field in the document, and take care to exclude it when applying in-place updates (as its presence would disrupt the ability to do an in-place update).  Furthermore, ensure that CloudSolrClient and Solr itself can route updates appropriately based on the {{_root_}} field.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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