Re: Use case of Spatial search

2013-08-19 Thread David Smiley (@MITRE.org)
Shishir, Use the location_rpt type and index circles of the business and the distance they serve with this syntax: Circle(lat,lon d=degreesRadius) Your query shape is then simply a point; use bbox query parser with d=0. This approach should scale *great* at query time. Erick suggesting using fun

Re: Use case of Spatial search

2013-08-19 Thread Erick Erickson
I think you can do this by a combination of standard function queries, see: http://wiki.apache.org/solr/FunctionQuery#if and geodist, see: http://wiki.apache.org/solr/SpatialSearch#geodist_-_The_distance_function WARNING: I haven't tried this myself, but it seems like it would work. The trick is t