[
https://issues.apache.org/jira/browse/LUCENE-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-2340:
---------------------------------
Fix Version/s: (was: 4.7)
4.8
> FixedIntBlockIndexOutput encodes unnecessary integers at the end of a list
> --------------------------------------------------------------------------
>
> Key: LUCENE-2340
> URL: https://issues.apache.org/jira/browse/LUCENE-2340
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/index
> Affects Versions: 4.0-ALPHA
> Reporter: Renaud Delbru
> Priority: Minor
> Labels: dead
> Fix For: 4.8
>
> Attachments: LUCENE-1458-FixedIntBlockIndexOutput.patch,
> LUCENE-1458-FixedIntBlockIndexOutput.patch
>
>
> At closing time, the current FixedIntBlockIndexOutput flushes blocks of
> blockSize even if there is only a few integers in the block.
> This can be problematic and causes a big overhead when using large blockSize
> (e.g., 1024), on small segments or on rare term posting list.
> One solution will be to have a secondary flushBlock method with an additional
> paramter: the valid length of a buffer. This method will be only called in
> the FixedIntBlockIndexOutput#close() method.
> The way this particular block of integers are encoded are left to subclasses.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]