[
https://issues.apache.org/jira/browse/LUCENE-7839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16023718#comment-16023718
]
Robert Muir commented on LUCENE-7839:
-------------------------------------
Right, but this is still old-style in the sense that it could still be done
with the random access API with shift+mask ... and this block compression has
been done before and always gave overhead.
I was suggesting much more like postings to eliminate the
readByte()/readByte()/readByte() stuff for the worst case.
> 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
> Attachments: LUCENE-7839.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]