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

Adrien Grand commented on LUCENE-6588:
--------------------------------------

I don't think we should try to support fine-grained deletion of children 
documents. I would rather like blocks of documents to be not only added but 
also deleted atomically so that a parent and its children are either all live 
or all deleted.

> ToChildBlockJoinQuery does not calculate parent score if the first child is 
> not in acceptDocs
> ---------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6588
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6588
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/join
>    Affects Versions: 5.2.1
>            Reporter: Christoph Kaser
>         Attachments: 0001-Test-score-calculation.patch, 
> 0002-ToChildBlockJoinQuery-score-calculation-bugfix.patch, 
> 0003-implements-ToChildBlockJoinQuery.explain.patch
>
>
> There is a bug in ToChildBlockJoinQuery that causes the score calculation to 
> be skipped if the first child of a new parent doc is not in acceptDocs.
> I will attach test showing the failure and a patch to fix it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to