Concepts
-
Content types
You can index these types of Salesforce B2C Commerce content:
Content Assets
andPage Designer Pages
. - Splitting Before indexing your content, Algolia splits your content into smaller chunks. For more details, see Splitting.
- Monitoring You can monitor the status of your content indexing jobs with the Algolia BM Module. For more details, see Monitoring.
Content indexing jobs
TheAlgoliaContentIndex_v2
job performs full content indexing.
It has two steps: SFCCContentSearchIndex
and algoliaContentIndex
.
It extracts Salesforce B2C content data and sends it for indexing to Algolia.
For more details, see Configuration.
Splitting
Because content can be lengthy and Algolia records have a size limit, Algolia splits your content into smaller chunks before indexing.Splitting for content assets
First, Algolia can split your content assets on HTML tags. This step is optional. You can configure asplittingTag
HTML tag as a job-level parameter.
For example, if you set the splittingTag
to h1
,
the job generates at least one record per <h1>
section.
If one section is too big, itβs split further to reduce record size.
Record size splitting
With the second layer of splitting, the content jobβs indexing logic ensures that each record will be within the record size limit. The maximum record size can be defined at the code level by adjustingDEFAULT_MAX_RECORD_BYTES
.
The default value is 10,000 bytes.