lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7563) BKD index should compress unused leading bytes
Date Mon, 05 Dec 2016 14:06:58 GMT


Adrien Grand commented on LUCENE-7563:

I digged into it, the test failure may happen with large numbers of bytes per dimension. It
could be fixed if we limited the number of bytes per value of BKDWriter to 16 (like we do
in FieldInfos) and made {{code}} a long.

> BKD index should compress unused leading bytes
> ----------------------------------------------
>                 Key: LUCENE-7563
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>             Fix For: master (7.0), 6.4
>         Attachments: LUCENE-7563-prefixlen-unary.patch, LUCENE-7563.patch, LUCENE-7563.patch,
LUCENE-7563.patch, LUCENE-7563.patch
> Today the BKD (points) in-heap index always uses {{dimensionNumBytes}} per dimension,
but if e.g. you are indexing {{LongPoint}} yet only use the bottom two bytes in a given segment,
we shouldn't store all those leading 0s in the index.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message