I'm trying to index a latLon field.

I have a fieldType in my schema.xml that looks like

<fieldType name="latLon" class="solr.LatLonType" subFieldSuffix="_latLon"/>

and a field that looks like

<field name="location" type="latLon"  indexed="true"  stored="true"/>

I'm trying upload via the JSON update handler but I'm getting a 400 
error

undefined field location_0_latLon

FWIW the JSON looks like

  "location": "38.044337,-103.513824"

Any idea what I'm doing wrong. Maybe I shouldn't be using the JSON 
update handler?

Simon


Reply via email to