Error When Attempting To Index
- snfpaperParticipant3 years ago #28173
Recently, we attempted to index media on our website (www.snfpaper.org), but received the following error and no media would be indexed. We aren’t sure what this error means.
An error occured:
Solr HTTP error: OK (400) { “responseHeader”:{ “status”:400, “QTime”:5}, “error”:{ “metadata”:[ “error-class”,”org.apache.solr.common.SolrException”, “root-error-class”,”java.lang.NumberFormatException”], “msg”:”ERROR: [doc=297] Error adding field ‘displaymodified_dt_i’=’1528495586000’ msg=For input string: \”1528495586000\””, “code”:400}}Please advise. Thank you.
wpsolrKeymaster2 years, 11 months ago #28283Sorry for the delay. Problem of emails not sent.
Please follow:
https://www.wpsolr.com/forums/topic/failed-to-parse-field-displaymodified_dt_i-of-type-integer-in-document-with/snfpaperParticipant2 years, 11 months ago #28285Thank you for the response. Do we have to delete the first index before creating the new one? We attempted to create a new index, with a different name from the first. After filling out the initial information, we were prompted to download a .zip file, which we did, and unzipped it in the designated folder. We clicked the “Check index status” button afterward, but we received an http error. Then we tried https instead, and received a cURL error. And upon switching back to http, we received a message telling us that “this index name already exists”.
And above that, in orange, it says, “Connect to your index (Loading the index…)”
Please advise. Thanks!
wpsolrKeymaster2 years, 11 months ago #28286Do not delete the first index until the new index is created and indexed with all your documents. Then select the new index on screen 2.1, and delete the first index if all is fine.
Please check the Solr index creation documentation https://www.wpsolr.com/guide/configuration-step-by-step-schematic/configure-your-indexes/connect-to-an-apache-solr-index/
The first video should show you all the steps.
You must be logged in to reply to this topic.