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

Robert Muir resolved LUCENE-5683.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.9

> Improve SegmentReader.getXXXDocValues
> -------------------------------------
>
>                 Key: LUCENE-5683
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5683
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Shai Erera
>            Assignee: Robert Muir
>             Fix For: 4.9, 5.0
>
>         Attachments: LUCENE-5683.patch
>
>
> Today we do two hash lookups, where in most cases a single one is enough. 
> E.g. SR.getNumericDocValues initializes the FieldInfo (first lookup in 
> FieldInfos), however if that field was already initialized, we can simply 
> check dvFields.get(). This can be improved in all getXXXDocValues as well as 
> getDocsWithField.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to