Return-Path: X-Original-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C4CA95A3 for ; Wed, 6 Jun 2012 21:06:02 +0000 (UTC) Received: (qmail 18059 invoked by uid 500); 6 Jun 2012 21:05:57 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 18018 invoked by uid 500); 6 Jun 2012 21:05:57 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 17956 invoked by uid 99); 6 Jun 2012 21:05:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 21:05:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 21:05:56 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 9536B4DE; Wed, 6 Jun 2012 21:05:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 06 Jun 2012 21:05:36 -0000 Message-ID: <20120606210536.36354.83838@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22FunctionQuery=22_by_BrianPanulla?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "FunctionQuery" page has been changed by BrianPanulla: http://wiki.apache.org/solr/FunctionQuery?action=3Ddiff&rev1=3D84&rev2=3D85 Comment: Explained the return type of strdist(), since it's different from the commo= n Levenshtein implementation. 1. ngram - The NGramDistance, if specified, can optionally pass in the n= gram size too. Default is 2. 1. FQN - Fully Qualified class Name for an implementation of the StringD= istance interface. Must have a no-arg constructor. = + This function returns a float between 0 and 1 based on how similar the sp= ecified strings are to one another. Returning a value of 1 means the specif= ied strings are identical and 0 means the string are maximally different. + = =3D=3D top =3D=3D [[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 exam= ple, 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() fun= ctions implicitly use top() and hence ord(foo) is equivalent to top(ord(foo= )). =20