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

Mikhail Khludnev commented on SOLR-5211:
----------------------------------------

I want to address this. Thus, we have to assign identifier spans across whole 
block. However it makes <uniqueKey> semantics odd. Even if you send a single 
document, it _moves_ {{uniqueKey}} field value into {{_root_}} field (as-is). 
Otherwise, we can propagate {{uniqueKey}} to whole block, but it would seem 
contradictionary. 
Which way would you like?

> 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, Trunk
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>             Fix For: Trunk
>
>
> 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
(v6.3.4#6332)

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

Reply via email to