Right, for Long/Lat I found this information:

<-----Long / Lat Field Type----->

<fieldType name="location" class="solr.LatLonType"
subFieldSuffix="_coordinate"/>

<-----Fields----->

<field name="latlng" type="location" indexed="true" stored="true" />
<field name="latlng_0_coordinate" type="double" indexed="true" stored="true"
/>
<field name="latlng_1_coordinate" type="double" indexed="true" stored="true"
/>

Does this look more logical?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Newbie-tries-to-make-a-Schema-xml-tp3974200p3976539.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to