[
https://issues.apache.org/jira/browse/LUCENE-5751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027757#comment-14027757
]
Adrien Grand commented on LUCENE-5751:
--------------------------------------
Hmm, should avgBPV be stored on a float? I think it can favor blocking too much
otherwise if eg. 8.9 becomes 8 in your heuristic. Otherwise, it looks good to
me!
> Bring MemoryDocValues up to speed
> ---------------------------------
>
> Key: LUCENE-5751
> URL: https://issues.apache.org/jira/browse/LUCENE-5751
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> Attachments: LUCENE-5751.patch
>
>
> This one has fallen behind...
> It picks TABLE/GCD even when it won't actually save space or help, writes
> with BlockpackedWriter even when it won't save space, etc.
> Instead of comparing PackedInts.bitsRequired, factor in
> acceptableOverheadRatio too to determine "will save space". Check if blocking
> will save space along the same lines (otherwise use regular packed ints).
> Fix a similar bug in Lucene49 codec along these same lines (comparing
> PackedInts.bitsRequired instead of what would actually be written)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]