on 2018 Sep 13 5:52 PM
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 ?
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.
I am facing it now, did you solve this somehow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.