[ 
https://issues.apache.org/jira/browse/LUCENE-7501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand updated LUCENE-7501:
---------------------------------
    Attachment: LUCENE-7501.patch

Here is a patch.

> Do not encode the split dimension in the index in the 1D case
> -------------------------------------------------------------
>
>                 Key: LUCENE-7501
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7501
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-7501.patch
>
>
> When there is a single dimension, the split dimension is always 0, so we do 
> not need to encode it in the index of the BKD tree. This would be 33% memory 
> saving for half floats, 20% for ints/floats, 11% for longs/doubles and 6% for 
> ip addresses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to