You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Tomas Eduardo Fernandez Lobbe (Jira)" <ji...@apache.org> on 2021/08/25 21:09:00 UTC

[jira] [Comment Edited] (SOLR-11191) Shard Split doesn't work on indexes that have nested documents

    [ https://issues.apache.org/jira/browse/SOLR-11191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404723#comment-17404723 ] 

Tomas Eduardo Fernandez Lobbe edited comment on SOLR-11191 at 8/25/21, 9:08 PM:
--------------------------------------------------------------------------------

Was looking at this today and It does seem like ensuring {{\_route_}} is used as router field (or other router that guarantees nested docs to fall in the same shard) should be enough for this to work completely, or am I missing something?


was (Author: tomasflobbe):
Was looking at this today and It does seem like ensuring {{_route_}} is used as router field (or other router that guarantees nested docs to fall in the same shard) should be enough for this to work completely, or am I missing something?

> Shard Split doesn't work on indexes that have nested documents
> --------------------------------------------------------------
>
>                 Key: SOLR-11191
>                 URL: https://issues.apache.org/jira/browse/SOLR-11191
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Assignee: David Smiley
>            Priority: Major
>              Labels: NestedDocuments
>
> The split shard command doesn't split a shard correctly when the index has parent-child documents.
> The way split shard works is it goes through all documents id's in that shard and then decides which sub-shard would it belong in . It is not aware of the parent child relationship during this process
> So the parent-child documents could be orphaned and end up in different shard
> Secondly, even with the routing of parent and child documents were the same split shards needs to re-index them as a block



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

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