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=48&rev2=49

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

  
  '''Values must be in Radians'''.  See the rad() function. Please note 
Haversine distance has known problems with antipodal values.  See the Wikipedia 
page for details.
  
- Signature: hsin(radius, x1,y1,x2,y2), ghhsin(radius, hash1, hash2) //pre 
SOLR-1131, the radius was the last value.
+ 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.
  

Reply via email to