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

This commit is contained in:
Cassandra Targett 2017-09-05 10:37:35 -05:00
parent 547228df17
commit 5a8eb5388d
1 changed files with 3 additions and 2 deletions

View File

@ -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.