Hi,

When I run search index for node with geofield I get this error:

"SearchApiException while indexing: "400" Status: ERROR: [doc=testindexserver-1021] Error adding field 'locs_field_locationpoint$latlon'=',': ERROR: [doc=testindexserver-1021] Error adding field 'locs_field_locationpoint$latlon'=',' Error 400 ERROR: [doc=testindexserver-1021] Error adding field 'locs_field_locationpoint$latlon'=','

HTTP ERROR 400

Problem accessing /solr/update. Reason:

 ERROR: [doc=testindexserver-1021] Error adding field 'locs_field_locationpoint$latlon'=','

Powered by Jetty://



















in SearchApiSolrConnection->checkResponse() (line 536 of D:\Projects\Php\Cosmopicks\cosmopicksnewdev\docroot\sites\all\modules\contrib\search_api_solr\includes\solr_connection.inc)."

I m using the apahe solr version 3.6.2 , search api solr 7.x-1.4, search api 7.x-1.8.

Can anyone please help. This is very urgent.

Comments

drunken monkey’s picture

Assigned: sridarm » Unassigned
Priority: Major » Normal

It seems that some Geofield has an illegal value which causes it's "LatLong Pair" property to contain just a comma. This in turn confuses Solr, which throws an exception in reaction to the illegal value.
Please see what node/item causes the error and see what is stored in the location field of that item.

OanaIlea’s picture

Status: Active » Closed (outdated)

This issue was closed due to lack of activity over a long period of time. If the issue is still acute for you, feel free to reopen it and describe the current state.