lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7862) Should BKD cells store their min/max packed values?
Date Mon, 10 Sep 2018 16:43:00 GMT


Michael McCandless commented on LUCENE-7862:

Wow, these are surprisingly massive speedups in some cases

> Should BKD cells store their min/max packed values?
> ---------------------------------------------------
>                 Key: LUCENE-7862
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Ignacio Vera
>            Priority: Minor
>             Fix For: 7.5, master (8.0)
>         Attachments: LUCENE-7862.patch, LUCENE-7862.patch, LUCENE-7862.patch
> The index of the BKD tree already allows to know lower and upper bounds of values in
a given dimension. However the actual range of values might be more narrow than what the index
tells us, especially if splitting on one dimension reduces the range of values in at least
one other dimension. For instance this tends to be the case with range fields: since we enforce
that lower bounds are less than upper bounds, splitting on one dimension will also affect
the range of values in the other dimension.
> So I'm wondering whether we should store the actual range of values for each dimension
in leaf blocks, this will hopefully allow to figure out that either none or all values match
in a block without having to check them all.

This message was sent by Atlassian JIRA

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

View raw message