cancel
Showing results for 
Search instead for 
Did you mean: 

Solr Replication in Hybris 5.7 using solrserver instead of solrfacetsearch

Former Member
0 Kudos

Has anybody configured master/slave replication in Solr 5.3 after upgrading to Hybris 5.7 or Hybris 6.0?

The documentation is outdated, it still talks about solrfacetsearch extension when now the Solr server is part of the solrserver extension and there are ant tasks for installation and startup.

Before 5.7 one would only copy the Solr installation into the Solr Servers, is one supposed now to install the whole Hybris server into these servers just to be able to leverage the ant scripts and solrserver configuration?

Here the outdated documentation from 5.5 that has not yet been updated to reflect the new solrserver extension in 5.7 and 6.0:

https://wiki.hybris.com/display/release5/Solr+Replication+Mechanism https://help.hybris.com/6.0.0/hcd/8c5f54f386691014abb090e75e1cffb2.html

Thanks, Dario.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Tyler,

Solr server installation was moved, it is no longer in solrfacetsearch extension. It is now here: {HYBRIS_BIN}\ext-commerce\solrserver\resources\solr There is no scripts.conf, and rsync mechanism is no longer maintained by Apache. Jetty xml file no longer has a jetty.port in it, Solr offers a port parameter in its startup script instead.

I have by now configured Solr and created my own start-up scripts.

Last but not least, master/slave replication mechanism is by now "legacy", SolrCloud is where Solr has been heading, disappointing to see Hybris 6.0 stay behind.

Thanks, Dario

tylermac
Product and Topic Expert
Product and Topic Expert
0 Kudos

I think you may be confusing 2 things. The first is that in 5.7 the Solr embedded server was removed, because it's no longer supported by Solr (see https://help.hybris.com/6.0.0/hcd/8c5fd6fe8669101498d7fe98a211776e.html). Thus, a standalone solrserver extension was created that could automatically start up with hybris. This could be used when you're working on Hybris locally. In your higher environments you should be using a standalone version of solr, preferably in a master/slave architecture.

Hybris comes with the Solr server files you would need to deploy individual master/slaves instances. Those are what's stored in {HYBRIS_BIN}\ext-commerce\solrfacetsearch\resources\solr\server and are what is referenced in https://help.hybris.com/6.0.0/hcd/8c5f54f386691014abb090e75e1cffb2.html. You would have to configure them and start them up separately from hybris (you're only copying over the server folder to your search nodes) and then ensure your Hybris solr configuration is referencing these endpoints.