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

[jira] [Comment Edited] (SOLR-5211) updating parent as childless makes old children orphans

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

Lucky Sharma edited comment on SOLR-5211 at 12/4/18 4:04 AM:
-------------------------------------------------------------

Hi All, 
I need one recommendation, To solve the same parent-child update problem, in versions 6 & 7, we have written our own UpdateProcessors, Will that be a definite approach. If yes I would be much happier if someone can review the same, and provide valuable feedback for that fix


was (Author: lsharma3):
Hi All, 
I need one recoomendation, To solve the same parent child update problem, in versions 6 & 7, we have written our own UpdateProcessors, Will that be a definate approach. If yes I would be much happier if some one can review the same, and provide valuable feedback for that fix

> updating parent as childless makes old children orphans
> -------------------------------------------------------
>
>                 Key: SOLR-5211
>                 URL: https://issues.apache.org/jira/browse/SOLR-5211
>             Project: Solr
>          Issue Type: Sub-task
>          Components: update
>    Affects Versions: 4.5, 6.0
>            Reporter: Mikhail Khludnev
>            Assignee: David Smiley
>            Priority: Blocker
>             Fix For: master (8.0)
>
>         Attachments: SOLR-5211.patch, SOLR-5211.patch, SOLR-5211.patch, SOLR-5211.patch, SOLR-5211.patch
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> if I have parent with children in the index, I can send update omitting children. as a result old children become orphaned. 
> I suppose separate \_root_ fields makes much trouble. I propose to extend notion of uniqueKey, and let it spans across blocks that makes updates unambiguous.  
> WDYT? Do you like to see a test proves this issue?



--
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