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/05/22 19:37:02 UTC

[jira] [Reopened] (LUCENE-5683) Improve SegmentReader.getXXXDocValues

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

Robert Muir reopened LUCENE-5683:
---------------------------------

      Assignee: Robert Muir  (was: Shai Erera)

> 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
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org