HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Configure the Optimizely Search & Navigation search provider

Describes how to configure the Optimizely Search & Navigation search provider for Optimizely Customized Commerce 13.

The search provider is installed using the NuGet package EPiServer.Commerce.FindSearchProvider.



To get the maximum value out of Optimizely Search & Navigation when developing visitor-facing features for your website, you should use the Search & Navigation integration for Optimizely Customized Commerce.

To configure Search & Navigation for Customized Commerce, follow these steps.

  1. Create an index at find.episerver.com.

  2. Go to the index's details page, and make a note of the values for serviceUrl and defaultIndex from the sample

  3. Edit your implementation's Mediachase.Search.config file.

  4. In the SearchProviders element, set the defaultProvider attribute to FindSearchProvider.

  5. Ensure that the following element exists in the Providers section, and update the serviceUrl and defaultIndex values to match the values from the index details page at find.episerver.com:

    <add name="FindSearchProvider"
         type="EPiServer.Commerce.FindSearchProvider.FindSearchProvider, EPiServer.Commerce.FindSearchProvider"
         serviceUrl="(set the serviceUrl here)"
         defaultIndex="(set the defaultIndex here)"/>

    Change the element in the indexers section to use appropriate index builder for the find service:

    <Indexers basePath="(the preexisting path)">
    <add name="catalog"
         type="EPiServer.Commerce.FindSearchProvider.FindSearchIndexBuilder, EPiServer.Commerce.FindSearchProvider" />
  6. Rebuild your search index from the Commerce Manager search interface.



  • The Search & Navigation search provider matches only the basic query string against fields of type integer or string. While catalog meta-fields of type float, double, or decimal may be marked as Include in Default Search in the meta-field configuration interface, these fields are not matched against the basic query string.
  • Other querying (filters, queries, or faceting against specific fields) functionality works on meta-fields of type float, double, or decimal.
  • If you want to match against these data types from a basic query string, store the data in a string-typed meta-field, and mark that field as Include in Default Search.