[
https://issues.apache.org/jira/browse/LUCENE-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946962#comment-13946962
]
Shai Erera commented on LUCENE-5554:
------------------------------------
I think it's good to add this specialization. We play around hotspot issues in
other places too (e.g. DataInput.readVInt). But perhaps you can add it as an
anonymous class? It will have less impact on the code and I don't think anyone
will want to do e.g. instanceof checks or override it?
> Add TermBulkScorer
> ------------------
>
> Key: LUCENE-5554
> URL: https://issues.apache.org/jira/browse/LUCENE-5554
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/search
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 4.8, 5.0
>
> Attachments: LUCENE-5554.patch
>
>
> Hotspot was unhappy with the changes in LUCENE-5487, e.g.:
> http://people.apache.org/~mikemccand/lucenebench/OrHighHigh.html
> But it looks like we can get the performance back by making a dedicated
> BulkScorer for TermQuery.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]