Bug: No indexing possible with 22.1, even with the fix
- euwid_burkhardParticipant3 years ago #27727
Hi,
we’re using WPSOLR Pro 22.1 on our site together with a hosted Apache SOLR 8 server. Unfortunately we can’t index anymore after updating from 22.0 to 22.1. We get the error
Solr HTTP error: OK (400) { "responseHeader":{ "status":400, "QTime":1}, "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","java.lang.NumberFormatException"], "msg":"ERROR: [doc=43258] Error adding field 'displaymodified_dt_i'='1295448180000' msg=For input string: \"1295448180000\"", "code":400}}
on most, but weirdly not all, of our posts.We already tried https://www.wpsolr.com/forums/topic/indexing-return-error/. So we completly emptied the index and reset the schema.xml to default together with our hoster. We also removed the server from the WordPress backend completly and reconfigured it. After that we changed
<dynamicField name="*_i" type="pint" indexed="true" stored="true"/>
in the schema.xml to<dynamicField name="*_i" type="plong" indexed="true" stored="true"/>
. Still the same issue. With 22.0 everything works fine.Any idea what could be the problem? Thanks in advance.
- This topic was modified 3 years ago by euwid_burkhard.
- This topic was modified 3 years ago by euwid_burkhard.
euwid_burkhardParticipant3 years ago #27738Hi,
we already tried to create a new index via “Configure another index” multiple times with different names in the “WPSOLR index name” field. Same error while trying to index everytime.I meant “plong”. We will try changing it to “long” as well.
Is there a complete schema.xml file we can use (and send to our hoster)? Can we use one of the schema.xml files from the plugin directory?
Thanks in advance.
euwid_burkhardParticipant3 years ago #27740Hi again, extra info to my last response: Our hoster said they changed the value in the schema.xml file from “plong” to “long” now. Still the same issue.
I deleted every index in the WPSOLR backend and configured a new index with a newer used WPSOLR index name. It was possible to index 140 posts with an increment of 10. After that the same error as before.
euwid_burkhardParticipant3 years ago #27741No, until now we used the path we get from our hoster (/solr/euwid8_de)
euwid_burkhardParticipant3 years ago #27742Just tried to change the path. Seems to be not possible for us. We get an “Forbidden” error.
euwid_burkhardParticipant3 years ago #27744Hi,
unfortunatly we can’t the index from within WPSOLR. The index is already created by our hosting. I just asked our hoster for a new index. We now got a different path but even with this fresh index the error still persists. I was able to send the first 100~ posts to the index, after that the same error from my initial forum post.wpsolrKeymaster3 years ago #27745You can then install the files from the zip in WPSOLR’s folder, and reload the index (to apply the change of schema).
Or try:
– Opensolr
https://www.wpsolr.com/guide/video-gallery-twentysixteen-theme-search-template/video-setup-demo-twentysixteen-theme-template-opensolr/
– Searchstax
https://www.wpsolr.com/guide/configuration-step-by-step-schematic/configure-your-indexes/create-a-searchstax-solr-cloud-manager-index/euwid_burkhardParticipant3 years ago #27746Hi again,
I sent the archive with the config files from /wpsolr/core/classes/engines/redisearch_php/admin/conf/5.0/wpsolr-v5.zip to our hoster. I will write here again as soon as I know if it worked.euwid_burkhardParticipant3 years ago #27839Hi again,
unfortunatly it’s still not working. Our hoster “Exigo” is still listed on your website as a hoster: https://www.wpsolr.com/de/guide/configuration-step-by-step-schematic/apache-solr-hosting/Maybe you could get into contact with them about this problem?
For now we decided to not update anymore and stay on Version 22.0.
You must be logged in to reply to this topic.