Tutorial: Customizing the Search server
In this tutorial, you edit configuration files to influence the behavior of the Solr
7.3.1 search engine. Two tutorial tasks are provided. In the first lesson, you change the default
list of stop words (words that do not get indexed) used by the Search server. By customizing the
list, you make it easier for customers browsing in the storefront to find products. In the second
lesson, you add a Solr field to change the suggested keywords that display in the search entry field
to a shopper, reducing ambiguity in search results.
Learning objectives
After completing this tutorial, you should be able to customize the
behavior of the Solr search engine in two ways.
- You will know how to direct the engine to your own version of the stopwords.txt file.
- You will be able to create and use customized fields by editing the x-schema-field-types.xml file.
Time required
Expect this tutorial to take 2 hours to complete. The tutorial can take longer if you explore concepts that are related to this tutorial.Skill level
This tutorial is intended for advanced HCL Commerce developers responsible for ensuring that the HCL Commerce storefront search feature is responsive and returns the products you want the customer to find. Ensure that you are familiar with the following terms and concepts before you begin this tutorial:- HCL Commerce search
- HCL Commerce services
- XML
- Relational databases
- SQL
System requirements
Before you begin this tutorial, ensure that you complete the following tasks in your development environment:- Build the Search index.
- Ensure you have a published Aurora starter store.