[jira] [Updated] (LUCENE-7869) MemoryIndex should sort 1d points

2017-06-08 Thread Martijn van Groningen (JIRA)

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

Martijn van Groningen updated LUCENE-7869:
--
Fix Version/s: 6.6.1

> MemoryIndex should sort 1d points
> -
>
> Key: LUCENE-7869
> URL: https://issues.apache.org/jira/browse/LUCENE-7869
> Project: Lucene - Core
>  Issue Type: Bug
>Reporter: Martijn van Groningen
> Fix For: master (7.0), 6.7, 6.6.1
>
> Attachments: LUCENE_7869.patch
>
>
> In case of 1d points, the {{PointInSetQuery.MergePointVisitor}} expects that 
> these points are visited in ascending order. The memory index doesn't do this 
> and this can result in document with multiple points that should match to not 
> match. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (LUCENE-7869) MemoryIndex should sort 1d points

2017-06-08 Thread Martijn van Groningen (JIRA)

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

Martijn van Groningen updated LUCENE-7869:
--
Fix Version/s: 6.7
   master (7.0)

> MemoryIndex should sort 1d points
> -
>
> Key: LUCENE-7869
> URL: https://issues.apache.org/jira/browse/LUCENE-7869
> Project: Lucene - Core
>  Issue Type: Bug
>Reporter: Martijn van Groningen
> Fix For: master (7.0), 6.7
>
> Attachments: LUCENE_7869.patch
>
>
> In case of 1d points, the {{PointInSetQuery.MergePointVisitor}} expects that 
> these points are visited in ascending order. The memory index doesn't do this 
> and this can result in document with multiple points that should match to not 
> match. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (LUCENE-7869) MemoryIndex should sort 1d points

2017-06-07 Thread Martijn van Groningen (JIRA)

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

Martijn van Groningen updated LUCENE-7869:
--
Attachment: LUCENE_7869.patch

Attached a patch with a fix and a test.

> MemoryIndex should sort 1d points
> -
>
> Key: LUCENE-7869
> URL: https://issues.apache.org/jira/browse/LUCENE-7869
> Project: Lucene - Core
>  Issue Type: Bug
>Reporter: Martijn van Groningen
> Attachments: LUCENE_7869.patch
>
>
> In case of 1d points, the {{PointInSetQuery.MergePointVisitor}} expects that 
> these points are visited in ascending order. The memory index doesn't do this 
> and this can result in document with multiple points that should match to not 
> match. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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