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 2017/05/18 23:08:04 UTC

[jira] [Commented] (LUCENE-7839) Optimize the default NormsFormat for the case that all norms are in 0..16

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

Robert Muir commented on LUCENE-7839:
-------------------------------------

Should this really be necessary given an iterator API? It seems too highly specialized and fragile (just like what random access APIs were doing), versus using a e.g. block-level compression like the posting lists.

> Optimize the default NormsFormat for the case that all norms are in 0..16
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-7839
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7839
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>
> Given how we now store the length of the field in norms, we could optimize the default norms format for the case that all norms are in 0..16 and store it on 4 bits. This would be picked up for short fields that have less than 16 terms (eg. title fields) and reduce disk utilization by 2.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org