You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2013/09/03 21:17:51 UTC
[jira] [Commented] (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=13756947#comment-13756947 ]
Mikhail Khludnev commented on SOLR-5211:
----------------------------------------
I'm observing an interesting behavior. If I delete one parent doc, ToParentBJQ doesn't stick orphan children to the next parent, but it happens after optimize! it seems ToParentBJQ doesn't mind deletes in parents filter. Isn't it a separate LUCENE issue?
> 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, 5.0
> Reporter: Mikhail Khludnev
> Fix For: 4.5, 5.0
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org