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 2014/07/01 15:16:25 UTC
[jira] [Resolved] (LUCENE-5799) speed up
DocValuesConsumer.mergeNumericField
[ https://issues.apache.org/jira/browse/LUCENE-5799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-5799.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.10
5.0
> speed up DocValuesConsumer.mergeNumericField
> --------------------------------------------
>
> Key: LUCENE-5799
> URL: https://issues.apache.org/jira/browse/LUCENE-5799
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> Fix For: 5.0, 4.10
>
> Attachments: LUCENE-5799.patch
>
>
> This method (used for both numeric docvalues and norms) is a little slow:
> * does some boxing for no good reason (can just use a boolean instead)
> * checks docsWithField always, instead of only when value == 0. This can cause unnecessary i/o.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org