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 Sat, 14 Nov 2009 14:20:28 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=32&rev2=33

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

  
  Example: hsin(x, y, 0, 0, 1) - Calculate the haversin distance between the lat/lon 0, 0
and the values in field x,y with a radius of 1.
  
+ == Deg/Rad - Convert to Degrees/Radians ==
+ [[Solr1.5]] This is uncommitted code.  See: https://issues.apache.org/jira/browse/SOLR-1302
  
+ Given a value in degrees, convert it to radians and vise-versa.
+ 
+ Signature: deg(!ValueSource), rad(!ValueSource)
  
  === Date Boosting ===
  Boosting more recent content is a common use case.  One way is to use a {{{recip}}} function
in conjunction with {{{ms}}}.

Mime
View raw message