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

How can we create new solr index for new website ?

0 Kudos
774

I want to create new solr index for new website. I have created new product and content catalog with new store and site. What are required impex and solr changes step by step need to be done?

Accepted Solutions (0)

Answers (1)

Answers (1)

saood
Participant
0 Kudos

Create new solr.impex file. It will create indextype also and index that index type.`$productCatalog=myProductCatalog $catalogVersions=catalogVersions(catalog(id),version); $facetSearchConfigName=my-aeIndex $facetSearchConfigDescription=UAE Solr Index $searchIndexNamePrefix=uae $solrIndexedType=uaeProductType $indexBaseSite=my-ae $indexLanguages=en $indexCurrencies=AED `

0 Kudos

Thanks Mohammed.. On what basis, we can decide that we need product type index. And apart from product type, how many types of indexes , we can create in hybris.

sduvvuri
Explorer
0 Kudos

Hi Saket,

You can create indexing for all those types which you may retrieve in bulk. Like for example, in products listing page you need to get list of products based on pagination. So instead of hitting the database for such heavy data retrieval you can just hit the index which is faster. So the performance won't be affected. You can also create index for orders for orders listing page and also for any other items based on your requirement.

Thanks, .