You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peng Xing (JIRA)" <ji...@apache.org> on 2018/04/16 07:38:00 UTC

[jira] [Commented] (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=16439075#comment-16439075 ] 

Peng Xing commented on SOLR-11191:
----------------------------------

Hi [~varunthacker], I have met the same problem with you, after splitting the rested document shard, it will lost index data, maybe after splitting, the parent document has been send to shard1_0, the child document has been send to shard1_1, so the child document has not find its parent, then it will be invalid to be lost.
Have you found some method to avoid this problem? thanks!

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>            Priority: Major
>
> 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
(v7.6.3#76005)

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