You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nicholas Knize (JIRA)" <ji...@apache.org> on 2015/11/19 20:05:11 UTC

[jira] [Updated] (LUCENE-6904) Rewrite max bound GeoPointInBBoxQuery to MatchAllDocsQuery

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