[jira] [Updated] (LUCENE-7501) Do not encode the split dimension in the index in the 1D case

2016-11-02 Thread Michael McCandless (JIRA)

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

Michael McCandless updated LUCENE-7501:
---
Attachment: LUCENE-7501.patch

Patch w/ new test case showing the issue, and showing it's fixed w/ the patch.

I don't think we need to pull this from 6.3.0; the change is contained, and 
just had a back-compat bug.

> 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, 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



[jira] [Updated] (LUCENE-7501) Do not encode the split dimension in the index in the 1D case

2016-11-01 Thread Michael McCandless (JIRA)

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

Michael McCandless updated LUCENE-7501:
---
Attachment: LUCENE-7501.patch

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: 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-7501) Do not encode the split dimension in the index in the 1D case

2016-11-01 Thread Michael McCandless (JIRA)

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

Michael McCandless updated LUCENE-7501:
---
Priority: Blocker  (was: Minor)

> 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
>
>
> 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



[jira] [Updated] (LUCENE-7501) Do not encode the split dimension in the index in the 1D case

2016-10-18 Thread Adrien Grand (JIRA)

 [ 
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