[ 
https://issues.apache.org/jira/browse/LUCENE-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand updated LUCENE-6756:
---------------------------------
    Attachment: MABench.java
                LUCENE-6756.patch

Here are a patch and the simplistic/non-realistic/terrible benchmark I used.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to