Implement a third party search provider
This topic provides an overview of third party search provider implementation and answers to frequently asked questions about query types and functions.
Optimizely Configured Commerce provides the ability to integrate third party search providers. By default, Configured Commerce uses Elasticsearch for search functionality on customer storefronts. The third party search abstraction is a generic implementation of Configured Commerce search functionality that can be extended to multiple search providers.
Configured 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 Configured 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.
Updated 4 months ago