lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jan...@apache.org
Subject lucene-solr:branch_7_4: Make spatial example more readable and fix bug where *:* did not show.
Date Mon, 11 Jun 2018 19:24:48 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_4 5ad72490a -> e6a4c815b


Make spatial example more readable and fix bug where *:* did not show.

(cherry picked from commit 43fbf03)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/e6a4c815
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e6a4c815
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e6a4c815

Branch: refs/heads/branch_7_4
Commit: e6a4c815ba3d1edf09bcb87f6ff77238f91aca73
Parents: 5ad7249
Author: Jan Høydahl <janhoy@apache.org>
Authored: Mon Jun 11 21:21:43 2018 +0200
Committer: Jan Høydahl <janhoy@apache.org>
Committed: Mon Jun 11 21:24:07 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/e6a4c815/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]
 


Mime
View raw message