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

Solr full indexing failing intermittently in Hybris 6.6

Former Member
0 Likes
943

Hi Experts,

I have new hybris 6.6 setup where I have defined some synonymous. Running full solr index query is failing intermittently with attached error: link text

This error is not constant and indexing runs successfully in subsequent run without any change. I tried to debug and saw hybris\data\solr\instances\default\master__CProduct_flop\managed\ _schema_analysis_synonyms_en.json is not being created successfully with every run which is causing indexing failure.

Any input on this would be helpful. Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Likes

This issue was due to several lowercase, uppercase and camelcase synonyms from(eg ace Wrap, ace wrap, Ace wrap, ACE WRap) present. When full indexing is run, the synonyms in solr server are deleted first, but when, it tries to delete ace Wrap, all synonyms irrespective of the case gets deleted. Thus, when another Delete request to delete 'ace wrap' is made, the request returns 404 due to which indexing fails. Since, all case sensitive synonyms in solr server are now deleted, thus, when full indexing is run, it runs successfully. But, all the synonyms from Hybris(ace Wrap, ace wrap, Ace wrap, ACE WRap) are again exported to Solr and thus, when indexing is run again, it fails. Thus, indexing fails intermittently and it can be solved by keeping only lowercase synonym(ace wrap) in Synonym From and deleting the others. It won't impact the search even if ACE WRAP is searched because the text_spell field has LowerCaseFilterFactory enabled, thus, allowing any case synonym to be searched.

0 Likes

Were you able to figure out what was the real issue and its possible solution ?