solr example: _latlon name was misleading - it's not a latlon, it's a single coordinate in a latlon

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999152 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-09-20 22:36:48 +00:00
parent 0d416bc6e9
commit b612b7f66c
1 changed files with 3 additions and 2 deletions

View File

@ -414,7 +414,7 @@
<fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
<!-- A specialized field for spatial search. -->
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_latlon"/>
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
<!--
A Geohash is a compact representation of a latitude longitude pair in a single field.
@ -523,7 +523,8 @@
<dynamicField name="*_f" type="float" indexed="true" stored="true"/>
<dynamicField name="*_d" type="double" indexed="true" stored="true"/>
<dynamicField name="*_latlon" type="tdouble" indexed="true" stored="false"/>
<!-- Type used to index the lat and lon components for the "location" FieldType -->
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false"/>
<dynamicField name="*_dt" type="date" indexed="true" stored="true"/>
<dynamicField name="*_p" type="location" indexed="true" stored="true"/>