Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The "SolrAdaptersForLuceneSpatial4" page has been changed by Bill Bell:
http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4?action=diff&rev1=14&rev2=15

  
  You can convert from 1 degree lat/long to an approximation of 111 km or 
68.9722 miles. d-.14498 is equal to approx 10 miles.
  
- {{{   
http://localhost:8983/solr/select?q=*:*&sort=query($sortsq)+asc&wt=xml&fl=fl=distmi:mul(query($sortsq),68.9722),distkm:mul(query($sortsq),111),distdeg:query($sortsq),store_geohash&fq={!%20v=$geoq}&sortsq={!%20score=distance%20v=$geoq}&geoq=store_geohash:"Intersects(Circle(37.489651,-77.665085
 d=.144985951))" }}}
+ {{{   
http://localhost:8983/solr/select?q=*:*&sort=query($sortsq)+asc&wt=xml&fl=distmi:mul(query($sortsq),68.9722),distkm:mul(query($sortsq),111),distdeg:query($sortsq),store_geohash&fq={!%20v=$geoq}&sortsq={!%20score=distance%20v=$geoq}&geoq=store_geohash:"Intersects(Circle(37.489651,-77.665085
 d=.144985951))" }}}
  

Reply via email to