While you have already solved your problem, my guess as to why it didn't
work originally is that you probably didn't have a
<dynamicField name="*_latLon" indexed="true" stored="true" />

What subFieldType does is it registers a dynamicField for you.
 subFieldSuffix requires that you have already defined that dynamicField.

On Tue, Aug 31, 2010 at 8:07 PM, Simon Wistow <si...@thegestalt.org> wrote:

> On Wed, Sep 01, 2010 at 01:05:47AM +0100, me said:
> > I'm trying to index a latLon field.
> >
> > <fieldType name="latLon" class="solr.LatLonType"
> subFieldSuffix="_latLon"/>
> > <field name="location" type="latLon"  indexed="true"  stored="true"/>
>
> Turns out changing it to
>
> <fieldType name="latLon" class="solr.LatLonType" subFieldType="double"/>
>
> fixed it.
>
>
>

Reply via email to