You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

We have widened our search functionality to not only search for products, but also static content, such as articles, videos, or images.

Not only can your customers search for a specific item, but their search could also return additional content, such as marketing material, assembly videos, or feature articles on product care. A search for “delivery” may return results related to lead times or cost. A customer could search for firmware files to upgrade the smart device they purchased from you.



How does it work?

The search engine will walk the publicly accessible page content and index accordingly.

Step-by-step guide

Follow these steps to configure the article content search functionality for your site:

  1. We need to turn on Content Search first: in your CMS, go to Settings → Feature Management → Content
  2. Locate Content Search and click Configure.
  3. Turn on Enable Content Search Feature.
  4. Set the schedule to a few minutes in the future, and click Save and Exit.
  5. Select Advanced Settings from the CMS side-menu.
  6. Select Lucene Search Settings.
  7. Select the Index Settings tab.
  8. Tick the checkbox to enable indexing.
9.       While you're there, let's enable Partial Word Searches. You do that by ticking Perform Partial Word Searches and selecting the Search Type: Scoring Boolean Query, Constant Score Query, and Matching Terms.

10.      Click Update to save your settings.
11.      Click the Indexing tab.
12.      Click the "Reindex Page Content" button to initiate an index of the content on all pages.
13.      The progress bar will display the progression of the reindexing.
14.      Once complete, the Reindex process displays the time taken to index your site's pages.
Now, we need to add the Product Search widget to your site's layout.
15.      Go to Content → Page & Templates → Theme Layout.
16.      Click the Theme Layout option.
17.      Locate the Product Search widget and click Edit. In our example, the Product Search widget is under Zone:HeaderColumn2.
18.      You should now see a new field Static Content Search. Select Include Static Content Search from the dropdown list. This feature will expand your customers' search capabilities.
19.      Select Save, and if you have your site set to Page Preview, then Publish the changes.
20.      You can customise the zero results returned message in the Page Content Search Result Template. You can locate that option via Content → Page & Templates → Other Page & Templates.

21.      Click to Edit the Page Content Search Result.
22.      Open the Notification tab and type in your new message. Click Save, and if you have your site set to Page Preview, then Publish your changes.
23.      Go to Content → Page & Templates → Products → Product List.
24.      The Product List Title widget will now display at the top of the Product List page.
25.      You can change the Static Web Pages Found Message to reflect the language and tone of your site. 

26.      Click Save at the bottom of the page.


26.      If you have your site set to Page Preview, then select Publish from the top right-hand side of the page to propagate the changes to your site.
27.      Perform a search to see what results are returned. You can see it uses the message from the Product List Title widget in the results display.


28.      Or, if your search returns no results, ensure your "no results" message from the Product Search widget's notification tab (Step 22) displays.
29.      If we click on the Search Suggestions message highlighted in red above, the system will bring up a list of articles in our site that contain the keyword.
30.      We can confirm we have those Articles in our system by navigating in CMS to Content → Articles. Click Edit.
31.      We can see that we have three articles with our keyword "article" in their heading.

32.      If we search for a partial word that is not in a title, the system will also return results.

Additional Information

Make sure you enable Partial Word Search in your Lucene Search Indexing.


Minimum Version Requirements

4.14.00

Prerequisites

Content other than Products and Categories

Self Configurable

Yes

Business Function

Searching

BPD Only?

Yes

B2B/B2C/Both

Both

Ballpark Hours From CV (if opting for CV to complete self config component)

Contact CV Support

Ballpark Hours From CV (in addition to any self config required)

Contact CV Support

Third Party Costs

N/A

CMS Category

Advanced Settings Lucene











  • No labels