- πΊπ¦Ukraine vlad.dancer Kyiv
Thank you @srdtwc! Your tips saved my time.
I'm using search API SOLR version 4.1.1 with SOLR 8.5.2, I have followed the solr configurations instruction.. configured the index, downloaded the config.zip , extracted the content and put in the proper index config folder, then restarted solr . during the drupal indexing I'm getting the following issue in the log messages:
Drupal\search_api_solr\SearchApiSolrException while trying to index items on index xyz-site: Solr endpoint http://ip-address:8983/ unreachable or returned unexpected response code (400). { "responseHeader":{ "status":400, "QTime":146}, "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","java.lang.IllegalArgumentException"], "msg":"Exception writing document id ssoexo-xyx-site-entity:node/13056:en to the index; possible analysis error: cannot change DocValues type from SORTED_NUMERIC to NUMERIC for field \"timestamp\"", "code":400}} in Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend->indexItems() (line 1001 of /docroot/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php)
for the time being, I changed the timestamp definition in the schema.xml to be "docValues="false", then I was able to index my nodes
I'm not sure what the impact of that change on the search functionality
Fixed
4.1
Solr Configuration Generator
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thank you @srdtwc! Your tips saved my time.