[ 
https://issues.apache.org/jira/browse/SOLR-4704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630927#comment-13630927
 ] 

David Smiley commented on SOLR-4704:
------------------------------------

Hi Bill.

As of Solr 4.2 you can do use \{!geofilt\} with 
SpatialRecursivePrefixTreeField.  And that query parser has 'pt'.  Also, take a 
look at SOLR-4242 (a bit of a TODO item) which isn't yet a specific proposal on 
a better query parser but it outlines some of the issues.

So I suggest this issue get closed, either as no problem or as a duplicate of 
SOLR-4242 which will certainly address this.
                
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to