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 19C1392F1 for ; Thu, 15 Mar 2012 07:28:35 +0000 (UTC) Received: (qmail 90832 invoked by uid 500); 15 Mar 2012 07:28:35 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 90796 invoked by uid 500); 15 Mar 2012 07:28:34 -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 90789 invoked by uid 99); 15 Mar 2012 07:28:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 07:28:34 +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; Thu, 15 Mar 2012 07:28:33 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 39B6F553; Thu, 15 Mar 2012 07:28:13 +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: Thu, 15 Mar 2012 07:28:13 -0000 Message-ID: <20120315072813.41703.4897@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22SpatialSearchDev=22_by_Bill_Bell?= 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 "SpatialSearchDev" page has been changed by Bill Bell: http://wiki.apache.org/solr/SpatialSearchDev?action=3Ddiff&rev1=3D8&rev2=3D9 For !PointType, the bounding box is calculated by standard rectangular co= ordinate system measures. = =3D=3D GeoHash Plugin =3D=3D - See [[https://issues.apache.org/jira/browse/SOLR-1568|https://issues.apac= he.org/jira/browse/SOLR-2155]] the plugin for Solr 3.x is at [[https://issu= es.apache.org/jira/secure/attachment/12497800/Solr2155-1.0.3-project.zip]] + See [[https://issues.apache.org/jira/browse/SOLR-1568|https://issues.apac= he.org/jira/browse/SOLR-2155]] the plugin for Solr 3.x is at https://issues= .apache.org/jira/secure/attachment/12497800/Solr2155-1.0.3-project.zip = ''NOTE: ''The GeoHash Plugin improves performance and allows for a multiV= alued field for Lat,Long. = @@ -84, +84 @@ = 2. Add a field in the section of schema.xml = - + . = 3. In your solrconfig.xml = - Top level within , suggested to place at bottom: + . Top level within , suggested to place at bottom: + . - - - - - = - Add the following cache into section if you are going to us= e geodist func + Add the following cache into section if you are going to use geo= dist func - + autowarmCount=3D"1"/> = The following parameters are supported for {!geofilt}: - = ||Parameter ||Description ||E= xample || ||pt ||The Point to use as the center of the filter. Specified as a comm= a separated list of doubles. If using the !LatLonType, then it is lat,lon.= ||&pt=3D33.4,29.0 &pt=3D27.3,83.9,10.0,5.5 || - ||d ||The distance from the point to the outer edge of whatever is bein= g used to filter on (bounding box, pure distance, something else). Must = be greater than or equal to 0 ||&d=3D10.0 || + ||d ||The distance from the point to the outer edge of whatever is bein= g used to filter on (bounding box, pure distance, something else). Must = be greater than or equal to . Note: for geo hashing rounding is acceptable.= ||&d=3D10.0 || - ||sfield ||The radius of the sphere to be used when calculating distanc= es on a sphere (i.e. haversine). Default is the Earth's mean radius in k= ilometers (see org.apache.lucene.spatial.DistanceUtils.EARTH_MEAN_RADIUS_KM= ) which is set to 6371.009. Most applications will not need to set this. |= |&sfield=3Dstore_geohash || + ||sfield ||The field defined with solr2155.solr.schema.GeoHashField ||&sf= ield=3Dstore_geohash || + = + = = = =3D Sorting =3D