cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Solr replication issue in 7.2

Former Member
0 Kudos
823

After upgrading Hybris commerce from 6.1 to 6.7, when solr replication is happening the following error is coming. The full indexing in master node is working fine.

**o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: Exception writing document id ProductCatalog/Online/123 to the index; possible analysis error: startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=36,endOffset=40,lastStartOffset=39 for field 'name_text_en' at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:226) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:67) at org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:55) at org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:910) at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1121)

In this upgrade Solr version also got changed from 5.3 to 7.2 version. Has anyone faced similar issue ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The Problem I had was because of the synonyms. In our texts there were some shortcuts like "mb" and that made things wrong.

maybe this is also your problem, just reverse the entries in synonyms.txt or disable the synonymfilterfactory.

Former Member
0 Kudos

Yes.

I am facing it now, did you solve this somehow?