lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-2609) Coordinate range queries do not work with Spatial Solr
Date Mon, 20 Jun 2011 18:30:47 GMT


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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message