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

Nicholas Knize updated LUCENE-6904:
-----------------------------------
    Attachment: LUCENE-6904.patch

Simple change to rewrite GeoPointInBBoxQuery as a MatchAllDocsQuery when the 
maximum lon/lat bounds are specified. Updated tests included.

> Rewrite max bound GeoPointInBBoxQuery to MatchAllDocsQuery
> ----------------------------------------------------------
>
>                 Key: LUCENE-6904
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6904
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: Trunk, 5.4
>            Reporter: Nicholas Knize
>            Priority: Minor
>         Attachments: LUCENE-6904.patch
>
>
> This simple improvement rewrites a GeoPointInBBoxQuery to a MatchAllDocsQuery 
> when the min/max lon/lat (or x/y) values are set to their limits (e.g., -180, 
> 180, -90, 90). This bypasses all unnecessary GeoPointTermsEnum logic.



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