Loading...
Area: Episerver B2B Commerce

Search extensions

Recommended reading 

Given the complexity around B2B digital commerce, it is common to extend the Elasticsearch document types within Epi B2B Commerce. The product types are the only supported extension types. Some examples of search extension include:

  • Add a new field to do custom sorting on category pages based on data in the ProductTopSellers table
  • Add custom SQL to the indexer to get this data into Elasticsearch
  • Sort on the custom data in the RunProductSearch pipeline
  • Filtering search results by the current warehouse
  • Add custom warehouse data to the index
  • Filter on the warehouse data in the FormProductFilter pipeline

You can also choose to go beyond the default document data and business logic by extending:

  • Synonyms
  • The Field Boosting table also defines which fields are searched
  • Product and Category Custom Properties can be automatically indexed
    • Go to Search > Field Boosting
    • Check “Show Non-Queryable Fields”
    • Find your property and set Queryable to Yes
    • Re-index
  • Custom search pipelines (C# Coding)Uses NEST .NET client to talk to Elasticsearch API
Do you find this information helpful? Please log in to provide feedback.

Last updated: Dec 11, 2020

Recommended reading