lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4496) Don't decode unnecessary freq blocks in 4.1 codec
Date Mon, 22 Oct 2012 04:44:15 GMT

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

Robert Muir updated LUCENE-4496:
--------------------------------

    Attachment: LUCENE-4496.patch

same trick for .pay blocks when they arent needed.
                
> Don't decode unnecessary freq blocks in 4.1 codec
> -------------------------------------------------
>
>                 Key: LUCENE-4496
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4496
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs
>    Affects Versions: 4.1
>            Reporter: Robert Muir
>         Attachments: LUCENE-4496.patch, LUCENE-4496.patch
>
>
> TermsEnum.docs() has an expert flag to specify you don't require frequencies. This is
currently set by some things that don't need it: we should call ForUtil.skipBlock instead
of ForUtil.readBlock in this case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message