Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 88786 invoked from network); 11 Dec 2009 21:05:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Dec 2009 21:05:26 -0000 Received: (qmail 33833 invoked by uid 500); 11 Dec 2009 21:05:26 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 33752 invoked by uid 500); 11 Dec 2009 21:05:26 -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 33743 invoked by uid 99); 11 Dec 2009 21:05:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 21:05:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 21:05:24 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 209B417D14; Fri, 11 Dec 2009 21:05:03 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Fri, 11 Dec 2009 21:05:03 -0000 Message-ID: <20091211210503.23174.50130@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22FunctionQuery=22_by_GrantIngersoll?= 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 GrantIngersoll. http://wiki.apache.org/solr/FunctionQuery?action=3Ddiff&rev1=3D48&rev2=3D49 -------------------------------------------------- = '''Values must be in Radians'''. See the rad() function. Please note Hav= ersine distance has known problems with antipodal values. See the Wikipedi= a page for details. = - Signature: hsin(radius, x1,y1,x2,y2), ghhsin(radius, hash1, hash2) //pre = SOLR-1131, the radius was the last value. + Signature: hsin(radius, x1,y1,x2,y2, {true|false}), ghhsin(radius, hash1,= hash2) //pre SOLR-1131, the radius was the last value. + If the last value is true, then hsin will convert the input values from d= egrees to radians. = Example: hsin(x, y, 0, 0, 1) - Calculate the haversine distance between t= he lat/lon 0, 0 and the values in field x,y with a radius of 1. =20