Hi all, I just downloaded Solr 4.10.2 and wanted to try out the new BBoxField type, but couldn't get it to work. The error (with status 400) I get is:
ERROR: [doc=foo] Error adding field 'bboxs_field_location_area'='ENVELOPE(25.89, 41.13, 47.07, 35.31)' msg=java.lang.IllegalStateException: instead call createFields() because isPolyField() is true Which, of course, is rather unhelpful for a user. The relevant portions of my schema.xml look like this (largely copied from [1]: <fieldType name="bbox" class="solr.BBoxField" geo="true" units="degrees" numberType="_bbox_coord" /> <fieldType name="_bbox_coord" class="solr.TrieDoubleField" precisionStep="8" stored="false" /> <dynamicField name="bboxs_*" type="bbox" indexed="true" stored="false" multiValued="false"/> [1] https://cwiki.apache.org/confluence/display/solr/Spatial+Search And the request I send is this: <add> <doc> <field name="id">foo</field> <field name="bboxs_field_location_area">ENVELOPE(25.89, 41.13, 47.07, 35.31)</field> </doc> </add> Does anyone have any idea what could be going wrong here? Thanks a lot in advance, Thomas