[
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
All tests pass, not sure I trust they really test this case well or even how
much it helps, but its a simple fix.
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]