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: don't reference JIRA for completed items (in general), remove ref to ValueSource, add example. http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=43&rev2=44 -------------------------------------------------- Example: geohash(lat, lon) == strdist == - [[Solr1.5]] See: https://issues.apache.org/jira/browse/SOLR-1302 + [[Solr1.5]] Calculate the distance between two strings. Uses the Lucene spell checker StringDistance interface and supports all of the implementations available in that package, plus allows applications to plug in their own via Solr's resource loading capabilities. - Signature: strdist(ValueSource, ValueSource, {jw|edit|ngram|FQN}[, ngram size]) + . Signature: strdist(s1, s2, {jw|edit|ngram|FQN}[, ngram size]) + . Example: strdist("SOLR",id,edit) The third argument is the name of the distance measure to use. The abbreviations stand for: 1. jw - Jaro-Winkler
