Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
drunken monkeyIt 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.
Comment #2
OanaIlea CreditAttribution: OanaIlea at bio.logis Genetic Information Management GmbH commentedThis 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.