cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating remote solr core

Former Member
0 Kudos

Hi All,

We are migrating fro hybris 5.5.1 to hybris 5.7 version. I am getting the below error while running the solr indexing. I have used legacy mode=true

WARNING: de.hybris.platform.solrfacetsearch.solr.exceptions.SolrServiceException: Error while creating remote solr core. Status: HTTP/1.1 400 Bad Request.

And below is the logs message I am seeing in solr logs:

Unable to create core [master_mycompany_Product] Caused by: Can't find resource 'solrconfig.xml' in classpath or 'C:\hybris5.7\data\solr\instances\default\cores.\conf'

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

@Sandeep and I was able to fix this this issue. It was because I had made legacyMode=true. After changing it to false, it started working. Thanks for your reply. Cheers!!!!

Former Member
0 Kudos

,@Sandeep , Where exactly did you make : legacyMode=false ?

Answers (3)

Answers (3)

Former Member
0 Kudos

I think there is solr configuration change,that might work as I am getting the same error in 5.5 version..Please reply as it says. try updating synonyms manually in synonyms tab.

sandeepsoma2
Employee
Employee
0 Kudos

Hi Siddesh,

As sumit said, Solr is available as standalone also from 5.7 version. SolrServer is the new extension which conatins all files related to solr. You can find solrConfig.xml @ path : \hybris\bin\ext-commerce\solrserver\resources\solr\server\solr\configsets\legacy\conf ( or ) hybris\bin\ext-commerce\solrserver\resources\solr\server\solr\configsets\default\conf.

you can read README.txt files present @ below path for more info : hybris\bin\ext-commerce\solrserver\resources\solr\server\solr ( &) hybris\bin\ext-commerce\solrserver\resources\solr\server

Thanks, Sandeep

Former Member
0 Kudos

Hi Siddesh,

In Hybris 5.7 there are lot of changes done to Solr. Now Solr server is available in stand alone mode and starts with Hybris server by default.

As per the above error solrconfig.xml is not present at the specified location. Please verify.

Regards,

Former Member
0 Kudos

thanks for replying. I will check and come back to you.