Next >Tutorial: Customizing the Search server
(Developer) 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, we 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 our 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 related to this tutorial.
Skill level
This tutorial is intended for advanced WebSphere Commerce developers responsible for ensuring that the WebSphere Commerce storefront search feature is responsive and returns the products we want the customer to find. Ensure that we are familiar with the following terms and concepts before you begin this tutorial:
- WebSphere Commerce search
- WebSphere Commerce services
- XML
- Relational databases
- SQL
System requirements
Before starting this tutorial, complete the following tasks in your development environment:
- Build the Search index.
- Ensure you have a published Aurora starter store.
Tutorial resources
Download and extract the following compressed file into a temporary directory in your development environment.
Lessons in this tutorial