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

SOLR Index builds successfully but not accessible via Hybris application

Former Member
0 Likes
1,339

In recent weeks our SOLR Search has begun to fail to return results from the Hybris application (times out after 180 seconds.) Rebuilding the Master SOLR index and replicating it to the Slave SOLR index has typically resolved the issue for us. But the last three days this has not worked and we are unable to get new products reflected in the SOLR search results from Hybris. However, we can still query the SOLR index from the SOLR admin console and see all old and new product changes. It's just that the Hybris application for some reason will not find any results on the the Slave SOLR index. In a review of all server and Dynatrace logs, we can see correct SOLR server name and its index file name is being used by the Hybris application. Any ideas on why we can directly query the SOLR index data outside the application, but get no results when going through the Hybris application?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

Attached is our master SOLR server log file. link text

Former Member
0 Likes

Hi ,

Add log or else do debug in the class DefaultSolrProductSearchService, of doSearch method, Check the Solr response data and see how the response will convert to search results data. and we can see the request url from hybris to solr in the DefaultFacetSearchStrategy of search method.

Thanks, Venki

Former Member
0 Likes

Venki - thanks for you help in advance and your patience as I gather logs. Still trying to see if I can gather the request URL and connect to production in debug mode (we can't recreate the problem in non-prod environments.) I'm trying to upload the logs now but they are too large for this website apparently. I'll see if I can reduce/limit their size further.

Former Member
0 Likes

Abhishek - thanks for your assistance. Here are answers to your questions:

SOLR Mode is Direct

On PLP, we don’t receive an error message; it just runs forever until we exit the screen.

Hybris version is 5.2

SOLR version is 4.6.1