SAP Knowledge Base Article - Preview

3536889 - Indexing Errors in Solr 9.7 Due to New DocValues default setup

Symptom

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

After upgrading to Solr 9.7 indexation fails with following errors like:

  • org.apache.solr.common.SolrException: Exception writing document id 8796132081665 to the index; possible analysis error: cannot change field "indexOperationId" from doc values type=NONE to inconsistent doc values type=NUMERIC
  • org.apache.solr.common.SolrException: Server error writing document id 8796093054977 to the index.
    Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
    Caused by: java.lang.IllegalStateException: unexpected docvalues type NONE for field '_version_' (expected=NUMERIC). Re-index with correct docvalues type.
  • org.apache.solr.common.SolrException: Error opening new searcher
    Caused by: java.lang.IllegalStateException: unexpected docvalues type NONE for field '_version_' (expected=NUMERIC). Re-index with correct docvalues type.

Due to indexation failure following logs can be seen in logging section of SOLR admin panel


Read more...

Environment

Commerce Cloud

Product

SAP Commerce Cloud 2211

Keywords

Solr, Solr 9.7, docValues, schema 1.7 , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.