[jira] [Updated] (LUCENE-7048) Add XXXPoint.newSetQuery to match a set of points

2016-02-25 Thread Michael McCandless (JIRA)

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

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

New patch, fixing nocommits.

I didn't add the multi-dim'd versions to all {{XXXPoint}} fields, but I did add 
test cases showing that it works and showing how we could add it "for real" 
later.

I think it's ready.

> Add XXXPoint.newSetQuery to match a set of points
> -
>
> Key: LUCENE-7048
> URL: https://issues.apache.org/jira/browse/LUCENE-7048
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Michael McCandless
>Assignee: Michael McCandless
> Fix For: master, 6.0
>
> Attachments: LUCENE-7048.patch, LUCENE-7048.patch
>
>
> This is the analog of {{TermsQuery}} for dimensional points, to (relatively) 
> efficiently match any docs whose point value is in the specified set.



--
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-7048) Add XXXPoint.newSetQuery to match a set of points

2016-02-24 Thread Michael McCandless (JIRA)

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

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

I added newSetQuery to Int,Long,Float,Double,Binary,InetAddress,BigIntegerPoint.

I also found a bug in how we were encoding float/double, such that the range 
and set queries were not working!

I haven't yet tackled the > 1D case yet ...

> Add XXXPoint.newSetQuery to match a set of points
> -
>
> Key: LUCENE-7048
> URL: https://issues.apache.org/jira/browse/LUCENE-7048
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Michael McCandless
>Assignee: Michael McCandless
> Fix For: master, 6.0
>
> Attachments: LUCENE-7048.patch
>
>
> This is the analog of {{TermsQuery}} for dimensional points, to (relatively) 
> efficiently match any docs whose point value is in the specified set.



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