You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/06/11 15:35:01 UTC

[jira] [Commented] (LUCENE-5751) Bring MemoryDocValues up to speed

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org