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

Adrien Grand commented on LUCENE-7501:
--------------------------------------

The patch looks good, thanks for looking into it. To be safe, maybe we should 
undo the change on the 6.3 branch and apply your patch to master/6.x?

> 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: Blocker
>             Fix For: master (7.0), 6.3
>
>         Attachments: LUCENE-7501.patch, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to