[ 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 patch, adding a few comments and beefing up TestBlockPostingsFormat3 to also check the freqs case. I'll commit this shortly after running some more tests, and I think I want to now yank TestBlockPostingsFormat3 out of this package and let it run with any codec, it just tests these various "subset" cases and isnt specific to this PF. > 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, 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org