You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/06/24 22:28:20 UTC

[jira] [Commented] (LUCENE-5077) make it easier to use compressed norms

    [ https://issues.apache.org/jira/browse/LUCENE-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692340#comment-13692340 ] 

Robert Muir commented on LUCENE-5077:
-------------------------------------

I made a patch for this actually, ill find it or redo it.

I think actually the good one to pick is PackedInts.DEFAULT or FAST (I forget which). for values < 255 one of these guarantees you get the fast 3-block one it doesnt actually waste so much space and its much much faster than COMPACT.
                
> make it easier to use compressed norms
> --------------------------------------
>
>                 Key: LUCENE-5077
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5077
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>             Fix For: 5.0, 4.4
>
>
> Lucene42DVConsumer's ctor takes acceptableOverheadRatio, so that you can tradeoff time/space, and we pass PackedInts.FASTEST so we always use 8 bits per value.
> But the class is package private, so if I want to make my own NormsFormat and pass e.g. PackedInts.COMPACT, I can't ... I think we should make this class public / @experimental?

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