You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/08/21 15:02:45 UTC
[jira] [Commented] (LUCENE-6756) Give MatchAllDocsQuery a dedicated
BulkScorer
[ https://issues.apache.org/jira/browse/LUCENE-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14706714#comment-14706714 ]
Robert Muir commented on LUCENE-6756:
-------------------------------------
Can you check that the specialization does not make hotspot crazy? AFAIK its already crazy around this stuff...
> Give MatchAllDocsQuery a dedicated BulkScorer
> ---------------------------------------------
>
> Key: LUCENE-6756
> URL: https://issues.apache.org/jira/browse/LUCENE-6756
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-6756.patch, MABench.java
>
>
> MatchAllDocsQuery currently uses the default BulkScorer, which creates a Scorer and iterates over matching doc IDs up to NO_MORE_DOCS. I tried to build a dedicated BulkScorer, which seemed to help remove abstractions as it helped improve throughput by a ~2x factor with simple collectors.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org