lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctarg...@apache.org
Subject lucene-solr:branch_7_0: SOLR-11305: finish clean up of Trie* fields in docs
Date Tue, 05 Sep 2017 15:38:43 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_0 c7338cbd3 -> d6923cb4b


SOLR-11305: finish clean up of Trie* fields in docs


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

Branch: refs/heads/branch_7_0
Commit: d6923cb4bb4098aeeebbf17abe5e4080ac1d1b6a
Parents: c7338cb
Author: Cassandra Targett <ctargett@apache.org>
Authored: Tue Sep 5 10:37:35 2017 -0500
Committer: Cassandra Targett <ctargett@apache.org>
Committed: Tue Sep 5 10:38:37 2017 -0500

----------------------------------------------------------------------
 solr/solr-ref-guide/src/spatial-search.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d6923cb4/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 64d813f..4cc05d6 100644
--- a/solr/solr-ref-guide/src/spatial-search.adoc
+++ b/solr/solr-ref-guide/src/spatial-search.adoc
@@ -354,9 +354,10 @@ The `BBoxField` field type indexes a single rectangle (bounding box)
per documen
 [source,xml]
 ----
 <field name="bbox" type="bbox" />
+
 <fieldType name="bbox" class="solr.BBoxField"
-        geo="true" units="kilometers" numberType="_bbox_coord" storeSubFields="false"/>
-<fieldType name="_bbox_coord" class="solr.TrieDoubleField" precisionStep="8" docValues="true"
stored="false"/>
+           geo="true" distanceUnits="kilometers" numberType="pdouble" />
+<fieldType name="pdouble" class="solr.DoublePointField" docValues="true"/>
 ----
 
 BBoxField is actually based off of 4 instances of another field type referred to by numberType.
It also uses a boolean to flag a dateline cross. Assuming you want to use the relevancy feature,
docValues is required. Some of the attributes are in common with the RPT field like geo, units,
worldBounds, and spatialContextFactory because they share some of the same spatial infrastructure.


Mime
View raw message