I am using Solr 1.4.1 (Solr Implementation Version: 1.4.1 955763M - mark -
2010-06-17 18:06:42) to be exact.

I'm trying to implement that GeoSpacial field type by adding to the schema:

 <fieldType name="location" class="solr.LatLonType"
subFieldSuffix="_latLon"/>
<dynamicField name="*_latlon" type="location" index="true" stored="true" />

<field name="geo" type="location" index="true" stored="true"
multiValued="false" />


but I get the following errors:


org.apache.solr.common.SolrException: Unknown fieldtype 'location'
specified on field geo

and


org.apache.solr.common.SolrException: Error loading class 'solr.LatLonType'


I thought I read that you had to have Solr 4.0 for the LatLon field
type, but isn't 1.4 = 4.0? Do I need some type of patch or different
version of Solr to use that field type?

Reply via email to