From commits-return-101558-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Mon Jun 11 21:21:58 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5B416180647 for ; Mon, 11 Jun 2018 21:21:58 +0200 (CEST) Received: (qmail 4531 invoked by uid 500); 11 Jun 2018 19:21:57 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 4522 invoked by uid 99); 11 Jun 2018 19:21:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2018 19:21:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3F7CCE0C56; Mon, 11 Jun 2018 19:21:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: janhoy@apache.org To: commits@lucene.apache.org Message-Id: <82c9548971324d028088d02b87a7cc30@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: lucene-solr:master: Make spatial example more readable and fix bug where *:* did not show. Fixes #400 Date: Mon, 11 Jun 2018 19:21:57 +0000 (UTC) Repository: lucene-solr Updated Branches: refs/heads/master f76f7fc61 -> 43fbf0321 Make spatial example more readable and fix bug where *:* did not show. Fixes #400 Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/43fbf032 Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/43fbf032 Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/43fbf032 Branch: refs/heads/master Commit: 43fbf0321dba37e1462300fdc5b2aca941656c96 Parents: f76f7fc Author: Jan Høydahl Authored: Mon Jun 11 21:21:43 2018 +0200 Committer: Jan Høydahl Committed: Mon Jun 11 21:21:43 2018 +0200 ---------------------------------------------------------------------- solr/solr-ref-guide/src/spatial-search.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/43fbf032/solr/solr-ref-guide/src/spatial-search.adoc ---------------------------------------------------------------------- diff --git a/solr/solr-ref-guide/src/spatial-search.adoc b/solr/solr-ref-guide/src/spatial-search.adoc index 8619e3ff..3e4eaab 100644 --- a/solr/solr-ref-guide/src/spatial-search.adoc +++ b/solr/solr-ref-guide/src/spatial-search.adoc @@ -109,7 +109,12 @@ When used with `BBoxField`, additional options are supported: === geofilt -The `geofilt` filter allows you to retrieve results based on the geospatial distance (AKA the "great circle distance") from a given point. Another way of looking at it is that it creates a circular shape filter. For example, to find all documents within five kilometers of a given lat/lon point, you could enter `&q=*:*&fq={!geofilt sfield=store}&pt=45.15,-93.85&d=5`. This filter returns all results within a circle of the given radius around the initial point: +The `geofilt` filter allows you to retrieve results based on the geospatial distance (AKA the "great circle distance") from a given point. Another way of looking at it is that it creates a circular shape filter. For example, to find all documents within five kilometers of a given lat/lon point, you could enter: + +[source,text] +&q=*:*&fq={!geofilt sfield=store}&pt=45.15,-93.85&d=5 + +This filter returns all results within a circle of the given radius around the initial point: image::images/spatial-search/circle.png[5KM radius]