lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5225) ToParentBlockJoinQuery don't accumulate the child doc ids and scores if ToParentBlockJoinCollector is not used
Date Tue, 17 Sep 2013 22:59:54 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message