Bill,

I responded to the issue you created about this: 
https://issues.apache.org/jira/browse/SOLR-4704

In summary, use {!geofilt}.

~ David


Billnbell wrote
> I would love for the SOLR spatial 4 to support pt so that I can run # of
> results around a central point easily like in 3.6. How can I pass
> parameters to a Circle() ? I would love to send PT to this query since the
> pt is the same across multiple areas
> 
> For example:
> 
> http://localhost:8983/solr/core/select?rows=0&q=*:*&facet=true&facet.query={!
> key=.5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0072369))%22&facet.query={!
> key=1}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.01447))%22&facet.query={!
> key=5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0723))%22&facet.query={!
> key=10}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.1447))%22&{!
> key=25}facet.query=store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.361846))%22&facet.query={!
> key=50}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.72369))%22&facet.query={!
> key=100}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=1.447))%22





-----
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Easier-way-to-do-this-tp4055474p4055732.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to