Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

It is now increasingly popular to be able to search for content such as SEO metadata and articles on a selling site. For example, you can make searchable how products are used, through articles, blogs, videos and pictures. A customer could search for firmware upgrades for the smart device they purchased from you. We have widened the search functionality to include such static content.



Table of Contents

How does

...

Static Content Search work?

When 'Static Content Search' is set to be included, the search engine will index publicly accessible page content for the Search facility.

...

  1. Navigate to Content → Page & Templates → Theme Layout.

  2. Click the Theme Layout option.

  3. Locate the Product Search widget and click Edit. In our example, the Product Search widget is under Zone:HeaderColumn2.


  4. Locate Static Content Search and select 'Include Static Content Search'. (Note - if you are creating a search for content pages only, then select 'Static Content Search Only'.)



  5. If you want to limit the number of results returned for content pages, scroll down to 'Limit the Product and Static Content Result Returned?' and ensure it is toggled on. In 'Static Content Search Result to Display', enter the maximum number of results to appear. If there are more results than the maximum number, the customer can click on 'View More Pages'. 

  6. Click on the Titles tab and change the search results headings as required.
  7. Click Save and if your site is in Page Preview mode, click Publish to effect the changes on your site.

...

5. Test the reconfigured search for content

Image Removed
  1. Perform a search to see what results are returned. You should be able to see the message from the Product List Title widget in the results display.


    Or if your search If you search returns no results, ensure your "no results" message from the Product Search widget's notification tab displaysis displayed.
  2. If we click on the Search Suggestions message highlighted in red in the image from Step 291, the system will bring up a list of pages in our site that contain the keyword.
  3. We can confirm we have those Articles in our system by navigating in CMS to Content → Articles. Click Edit.
Image Removed
33.      We can see that we have three articles with our keyword "article" in their heading.

34.     


  1. If
we
  1. we search for a partial word that is not in a title, the system will also return results.
    Image Modified
35.       If
  1. If you hit return on the Search Suggestions instead of clicking the "n web pages found" message, then the system will return a list of web pages that contain the keyword and a list of products that match it.
            In this example
  1. In this example, 1 web page and no products match the keyword. 
    Image Modified
36.     
  1. You can click on the web page results to display the static content.
37.     

  1. If your keyword matches products and static content, then searching and pressing return will give the following results.

Image Removed

38.      In
  1.  In our example, we have Product Suggestions turned on in the Product Search widget, so the product search returned product names that are spelled similarly to our keyword.
The static content search facility will allow your customers to search on content other than products. Explore the search results and tinker with the widgets detailed in this knowledge base article until you are confident with the results.

  1. Image Added

Additional Information

Multiexcerpt
MultiExcerptNameAdditional Info

Make sure you enable Partial Word Search in your Lucene Search Indexing so your customers don't have to know the exact name of your static content to find it.

...