Let’s Talk

We would love to hear from you. Want to know more about
our services or have any questions? Say Hi!

COVEO to Solr Migration

January 20, 2020
COVEO to Solr Migration
Ketan Garala
Ketan Garala
CTO, Sitecore MVP
coveo-to-solr-migration
coveo-to-solr-migration-1

Client has implemented Coveo Version with Sitecore version 8.2 Update 6. They have big part in search where every product has associate document. They want to search keywords from pdf document as well and they created custom filed type for their requirement.

coveo-to-solr-migration-2

This is giant semiconductor created company who used this. They used Sitecore 8.2 feature functionality very broadly like personalization, persona , analytics , goal and campaign etc..

Their search functionality is very strong

Sitecore Version 8.2 Update 6 with Coveo

  1. Document Search for instance, search should work on pdf file as well.

  2. Facets based search for different category wise

  3. They have multi language website so search is also working on multi language.

Reason to convert Coveo to Solr.

  1. There are using old Sitecore version. As per client conversion Coveo will stop the old Sitecore support.

Solr 6.6.2 Implementation

Approach

  1. Download and install Solr 6.6.2

  2. To save time, create a custom SOLR configset by copying, pasting and renaming the basic_configsfolder (found, for instance, in C:\Bitnami\solr-5.2.1-0\apache-solr\solr\configsets) to create a new one named sitecore_configs

  3. Use the Generate Solr Schema in the Sitecore control panels

  4. After the schema.xml is generated, delete the managed-schema.xml

  5. Prepare and organize you Solr core structure

  6. Created Solr core master and web

  7. Duplicate the sitecore_analytics_index folder. Rename it to [new-core-name]

  8. Edit the core.properties in the [new-core-name] folder, change the only line to: dataDir=../../cores_data/[new-core-name]

Patch the configuration to use Solr for all the indexes instead of Lucene

  1. Create a folder “zz.SolrIndexes” and place this in App_Config\Include. In this folder copy all the Solr configuration files that ships with Sitecore as .disabled or .example:

  2. Remove the .example and .disabled from the above files.

  3. Disable all the currently enabled Lucene indexes by a single patch file

  4. Rebuild the index from Sitecore control panel

  5. Created new search project and manage all search functionality in that project and add that dll in root folder project. So, it will not affect existing project.

  6. Created new search page item in sitecore and created new rendering for search.

  7. Created new solr indexes for documentation where they indexes only website document only.

  8. Also created computed index

Final result.

  1. Search page is rendered with Solr search result.

All category wise facets also loaded and based on that filter working properly

Let us have coffee together and discuss your requirement for Sitecore. Mail us at info@addact.net.


YOU MAY ALSO LIKE