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 BrianPanulla:
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=84&rev2=85

Comment:
Explained the return type of strdist(), since it's different from the common 
Levenshtein implementation.

   1. ngram - The NGramDistance, if specified, can optionally pass in the ngram 
size too.  Default is 2.
   1. FQN - Fully Qualified class Name for an implementation of the 
StringDistance interface.  Must have a no-arg constructor.
  
+ This function returns a float between 0 and 1 based on how similar the 
specified strings are to one another. Returning a value of 1 means the 
specified strings are identical and 0 means the string are maximally different.
+ 
  == top ==
  <!> [[Solr1.4]] Causes it's function query argument to derive it's values 
from the top-level IndexReader containing all parts of an index.  For example, 
the ordinal of a value in a single segment will be different from the ordinal 
of that same value in the complete index.  The ord() and rord() functions 
implicitly use top() and hence ord(foo) is equivalent to top(ord(foo)).
  

Reply via email to