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 YonikSeeley. The comment on this change is: fix formatting bug caused by gui mode. http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=39&rev2=40 -------------------------------------------------- == literal == <!> [[Solr1.5]] String literals. Warning: not all functions can work with string literals. - Signature: literal(value), "value", 'value' Example: 'foo', literal("this is a literal") + Signature: literal(value), "value", 'value' + + Example: 'foo', literal("this is a literal") == fieldvalue == This function returns the numeric field value of an indexed field with a maximum of one value per document (not multiValued). The syntax is simply the field name by itself. 0 is returned for documents without a value in the field. @@ -256, +258 @@ 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. - - == 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.
