Martijn van Groningen created LUCENE-5225:
---------------------------------------------
Summary: 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
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 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: [email protected]
For additional commands, e-mail: [email protected]