Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F06C765FF for ; Mon, 20 Jun 2011 18:31:09 +0000 (UTC) Received: (qmail 12498 invoked by uid 500); 20 Jun 2011 18:31:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 12453 invoked by uid 500); 20 Jun 2011 18:31:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 12446 invoked by uid 99); 20 Jun 2011 18:31:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 18:31:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 18:31:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5EFD642434C for ; Mon, 20 Jun 2011 18:30:47 +0000 (UTC) Date: Mon, 20 Jun 2011 18:30:47 +0000 (UTC) From: "David Smiley (JIRA)" To: dev@lucene.apache.org Message-ID: <943035423.21937.1308594647385.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1028318501.19657.1308540047384.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2609) Coordinate range queries do not work with Spatial Solr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052136#comment-13052136 ] David Smiley commented on SOLR-2609: ------------------------------------ Yes, this should be a feature request for "Allow arbitrary bbox lat-lon, not limited to circle". Under the hood, I recall the first order of business is resolving the point-radius to a bounding box. At that point the special prime-meridian logic is handled. It seems it would not be hard to make a patch that ads new parameters for explicit lat-lon bbox params. > Coordinate range queries do not work with Spatial Solr > ------------------------------------------------------ > > Key: SOLR-2609 > URL: https://issues.apache.org/jira/browse/SOLR-2609 > Project: Solr > Issue Type: Bug > Components: SearchComponents - other > Affects Versions: 3.1 > Reporter: Zac Smith > Labels: spatialsearch > > The Spatial Search documentation states that you can create your own bounding box using a range query: > "Since the LatLonType field also supports field queries and range queries, one can manually create their own bounding box rather than using bbox: ...&q=*:*&fq=store:[45,-94 TO 46,-93]" > This works unless your range covers an area where longitude goes from 180 to -180. For instance I want all items in the longitude range of > 178 to -177 which of course gives no results (it is not a valid numeric range). It's not really surprising that this doesn't work as it is just a standard range query with no spatial filters being applied. > I am wondering if this is just an issue with the documentation and there is another way that this should be done? Please advise if more details are needed. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org