lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5799) speed up DocValuesConsumer.mergeNumericField
Date Tue, 01 Jul 2014 13:14:25 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048849#comment-14048849
] 

ASF subversion and git services commented on LUCENE-5799:
---------------------------------------------------------

Commit 1607067 from [~rcmuir] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1607067 ]

LUCENE-5799: optimize numeric docvalues merging

> 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
>         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


Mime
View raw message