[ https://issues.apache.org/jira/browse/SOLR-4704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13732178#comment-13732178 ]
Bill Bell commented on SOLR-4704: --------------------------------- IS this resolved? WHat we want to do is set up a QT with a parameter for $pt in Circle() or geodist(). Then we can just send: pt=26,-80 and then use: pt=26,-80&facet.query= {! key=1} store_geohash:%22Intersects(Circle($pt%20d=.01447))%22 Instead of: Circle(26.012156,-80.311943%20d=.361846) > Easy parameter injection into new Spatial for Circles > ----------------------------------------------------- > > Key: SOLR-4704 > URL: https://issues.apache.org/jira/browse/SOLR-4704 > Project: Solr > Issue Type: Bug > Reporter: Bill Bell > > I would like to be able to inject one PT and use it in all queries. Not sure > how to do that? > This will be in the QT: > http://hgsolr2devmstr:8080/solr/providersearch/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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org