[ https://issues.apache.org/jira/browse/LUCENE-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014288#comment-15014288 ]
Nicholas Knize commented on LUCENE-6904: ---------------------------------------- /facepalm Just keeping you honest! :) New patch added. > 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, 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