lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Wistow <>
Subject Problems indexing spatial field - undefined subField
Date Wed, 01 Sep 2010 00:05:47 GMT
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 

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?


View raw message