lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "FunctionQuery" by GrantIngersoll
Date Wed, 08 Sep 2010 20:51:31 GMT
Dear Wiki user,

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

The "FunctionQuery" page has been changed by GrantIngersoll.
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=65&rev2=66

--------------------------------------------------

  Signature: hsin(radius, x1,y1,x2,y2, {true|false}), ghhsin(radius, hash1, hash2) //pre SOLR-1131,
the radius was the last value.
  If the last value is true, then hsin will convert the input values from degrees to radians.
  
- Example: hsin(x, y, 0, 0, 1) - Calculate the haversine distance between the lat/lon 0, 0
and the values in field x,y with a radius of 1.
+ Example: hsin(2, x, y, 0, 0, 1) - Calculate the haversine distance between the lat/lon 0,
0 on a sphere of radius 2 and the values in field x,y with a radius of 1.
  
  == geohash - Convert to geohash ==
  Given a latitude and longitude (in degrees, not radians), convert them to a Geohash.  See
http://en.wikipedia.org/wiki/Geohash.

Mime
View raw message