Since Spatial Lucene 4 does not seem to support geodist(), even sending
d,pt,fq={!geofilt}does not help me = I need to sort. So I end up having to
set up the sortsq. Any other ideas on how to support the old syntax on the
new spatial? Can I create a transform or something ?

Convert

http://localhost:8983/solr/providersearch/select?rows=20&q=*:*&fq={!geofilt}&pt=26.012156,-80.311943&d=50&sfield=store_geohash&sort=geodist()
asc

To
 

http://localhost:8983/solr/providersearch/select?rows=20&q=*:*&fq={!%20v=$geoq}&sortsq={!%20score=distance%20v=$geoq}&geoq=store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.72369))%22&fl=store_lat_lon,distance:mul(query($sortsq),69.09)&sort=query($sortsq)%20asc
 




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Support-old-syntax-including-geodist-tp4055476.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to