cancel
Showing results for 
Search instead for 
Did you mean: 

how to configure solr search in hybris 5.4

Former Member
0 Kudos

i need to configure this on my suit .please help me and explain me in details

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
  1. Add solr facet search extension make sure you have the following two extensions included:
    <extension dir="${HYBRIS_BIN_DIR}/ext-hybris/sampledata" />

  2. Installing Solr Server

un ant all and run the hybris update process.

  1. Run Solr Server

{solrfacetsearch_extension}/resources/solr/server-> run start.bat

Former Member
0 Kudos

Thanks a lot Yan!!

1.can you please explain me in details. (1 and 2 steps) 2. why i need to install solr server because it is already there.

Help me out for this i need to solr server with running mode i am very new in hybris thatswhy

Former Member
0 Kudos

Hi, extensible is a big advantage for hybris. sometimes we need to add extensions into localextensions.xml that we can use the new functions.

As you said, if it is already there. you can ignore the first step, and can directly run the solr server. after the server is done, you can open localhost:8983/solr/ to the solr admin .

Former Member
0 Kudos

Hi Yan.. If i add this extension in my localextension.xml file then i got error when i run ant clean all command .because this extension is not available inside bin folder .

How can add this extension in localextension.xml file. please help me out for this solar server configuration

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sujeet,

I just check in the hybris document ,there is some change for solr after hybris 5.7 .

     This mode is provided by default with hybris until 5.6. The SOLR instance is running into hybris platform. No setting is necessary. Solr service is reachable at this following URL http://localhost:9001/solrfacetsearch/. In 5.7 and later, hybris provides a standalone mode by default.
 ........
     This architecture is set by default in 5.7 and later version. The SOLR server is started by hybris platform through solrserver extension (see localextensions.xml). No setting is necessary. Solr service is reachable at this following URL http://localhost:8983/solr 


For your version, you just need to check if solrfacetsearch is installed. when your server is up, you could fo to hac->platform->extensions ,there you could see all the extensions which you already install.

from my point view, it should be installed by default. so you could directly open http://localhost:9001/solrfacetsearch/ to solr server.

If I am right, please accept the answer. Thanks yan

Former Member
0 Kudos

Hi Yan,

I agreed with your answer but in hybris 5.4. i got this error when i did indexing of my product. Can you please find out the attached document.so that every things is clear to you.

Because of solr only i got this error while indexing of my product.Please help me out on this.

Former Member
0 Kudos

Hi

Are you working on cluster environment? from the erros it seems that the server could not connect to the solr server.

second try is ,do you get the error in OOTB instance or you add some own data?

Former Member
0 Kudos

Hi Yan.

Solr server is not configure thatswhy i got this error.

Actually my client send some products through data hub now products shown in my HMC but products are not synchronized with my site. For this i need to start solr server first but i do not know the configuration of solr. Can you please help me out What are the steps to config sorl in hybris 5.4 ?

Thanks a lot

Former Member
0 Kudos

here is a link I find, hope it help.

Managing Solr Search Configuration through hMC