mirror of https://github.com/apache/lucene.git
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:
parent
0d416bc6e9
commit
b612b7f66c
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue