[
https://issues.apache.org/jira/browse/LUCENE-5225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782769#comment-13782769
]
ASF subversion and git services commented on LUCENE-5225:
---------------------------------------------------------
Commit 1528022 from [~martijn.v.groningen] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1528022 ]
LUCENE-5225: backported r1527975
> ToParentBlockJoinQuery don't accumulate the child doc ids and scores if
> ToParentBlockJoinCollector is not used
> --------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-5225
> URL: https://issues.apache.org/jira/browse/LUCENE-5225
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Martijn van Groningen
> Assignee: Martijn van Groningen
> Priority: Minor
> Fix For: 5.0, 4.6
>
> Attachments: LUCENE-5225.patch, LUCENE-5225.patch
>
>
> The BlockJoinScorer temporarily saves the child docids and scores in two
> arrays (pendingChildDocs/pendingChildScores) for the current block
> (parent/child docs) being processed. This is only need for
> ToParentBlockJoinCollector and in the case that this collector isn't used
> then these two arrays shouldn't be used as well.
> I've seen cases where only the ToParentBlockJoinQuery is used and there are
> many child docs (100k and up), in that case these two arrays are a waste of
> resources.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]