Loading...
Area: Optimizely B2B Commerce

Implement a third party search provider

Recommended reading 

Optimizely B2B Commerce provides the ability to integrate third party search providers. By default, B2B Commerce uses Elasticsearch for search functionality on customer storefronts. The third party search abstraction is a generic implementation of B2B Commerce search functionality that can be extended to multiple search providers.

B2B Commerce provides a Shared Search abstraction that allows for new providers to be developed. Using the pipelines and handlers provided by Shared Search can decrease the time needed to implement the new search provider. For more information on what search functionality B2B Commerce provides, see Third party search pipelines.

Below is a list of Frequently Asked Questions (FAQ) that gives information on query types and how they should function.

What is a MultiMatchQuery?

A Multi-Match Query is used to check for exact matches between the search query and various fields with a limit on how many fields must match for the Search Document to count as a hit.

What is a MultiMatchPrefixQuery?

A Multi-Match Prefix Query is used to find start of matches between the search query and various fields. There is a limit on how many fields must match for the Search Document to count as a hit.

What is a MultiMatchFuzzyQuery?

A Multi-Match Fuzzy Query is used to find loose matches between the search query and various fields. There is a limit to how many fields have to match for the Search Document to count as a hit.

What is a FunctionScoreQuery?

Using SearchScoreFunction and FunctionBoostMode allows a query to be boosted based on a specific field and a specified Boost Mode. Supported FunctionBoostMode types are Multiply, Replace, Sum, Average, Max, or Min.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Nov 24, 2021

Recommended reading