Content Search Configuration
Content Search Configuration lets administrators choose, per inbound
search, which backend a Regulated Content Cloud published-document
search runs against. You can route searches to standard Einstein or to Salesforce Data 360 or split traffic across both based on Country, Channel, or any other attribute you stamp onto the request. For example, US users can search Data 360 while China users search Einstein. Because Data 360 uses a consumption-based cost model for both indexing and querying, this configuration gives you precise, cost-aware control over where searches run.
This page describes the Content Search Settings
(mvn__CM_Content_Search_Settings__mdt) custom metadata type and how
to author criteria that match specific slices of traffic.
How content search dispatch works
When Regulated Content Cloud runs a published-document search, the platform builds a request that captures every input the caller provided. Before the request goes to Einstein or Data 360, the content search resolver:
- Loads every Content Search Settings record in your org.
- Iterates the records in Order (
CM_Order__c) ascending, from lowest to highest. - Evaluates each record's Criteria (
CM_Criteria__c) JSON against the inbound request. - Stops at the first match and stamps that record's dispatch fields (algorithm, search type, index, data space, minimum score) onto the request.
- Hands the stamped request to either Einstein or Data 360.
Because matching is first-match-wins, more specific records should have a lower Order value than less specific records. If no record matches an inbound request, the search runs on Einstein with no additional dispatch fields applied.
Fields on Content Search Settings

| Field label | API name | Type | Description |
|---|---|---|---|
| Order | CM_Order__c | Number, required | Evaluation order. Lower numbers evaluate first. |
| Criteria | CM_Criteria__c | Long Text Area, required (validation rule) | JSON rule evaluated against the inbound search request. See Author criteria. |
| Search Algorithm | CM_Search_Algorithm__c | Picklist, required | Einstein or Data 360. Selects which backend handles content searches for the segment. |
| Search Type | CM_Search_Type__c | Picklist | Vector or Hybrid. Used only when Search Algorithm is Data 360. Use Vector for semantic/LLM-grounding searches; use Hybrid to combine vector relevance with exact-term (keyword) matching. Both types apply Min Search Score to the vector score, but different ranking and passage limits can produce different result sets. Hybrid orders results by the hybrid score. |
| Search Index | CM_Search_Index__c | Text(50) | Data Cloud DLO name for Data 360. Must end with _index__dlm so the paired chunk DLO can be derived. |
| Data Space | CM_Data_Space__c | Text(50) | Customer Data Platform data space. Use default for the standard data space. |
| Min Search Score | CM_Min_Search_Score__c | Number(3,2) | Minimum vector score (0–1) that a passage must exceed to be returned from Data 360. The vector score measures how closely a passage matches the meaning of the search terms. It is used for both Vector and Hybrid, so the value means the same on both search types. |
| Index Filter Fields | CM_Index_Filter_Fields__c | Long Text Area | Optional. JSON map from Document Version fields to the filter columns of your Data 360 search index. When set, Data 360 applies the search's filters inside the index, before it ranks the results. See Filter documents inside the index. |
The Content Search Settings object also includes a validation rule,
CM_Data_360_Requires_Full_Config, that blocks Save when Search
Algorithm is Data_360 and any of Search Type, Search Index, Data
Space, or Min Search Score is blank. This catches incomplete Data 360
configuration at save time instead of at run time.
Author criteria
Criteria use the same JSON format as Regulated Content Cloud's layout and workflow criteria. The full operator list and compound criteria syntax are documented in Criteria definition. Content Search Configuration extends that format with a small set of paths that describe the inbound search request.
Available paths
Each path corresponds to an attribute of the inbound search request. Use them in your criteria JSON to define which requests a settings record applies to.
| Path | Type | Description |
|---|---|---|
publishedOnly | Boolean | true when the request originates from the published-document service. Use this path to route only published-document searches to Data 360 while keeping other consumers (list views, REST endpoints) on Einstein. |
regionCodes | Array of strings | Two-letter country codes (for example, US, CN) that the caller selected as a Country filter. Use Includes or NotIncludes to route per Country. |
customAttributes.<key> | Any | Caller-supplied values. The canonical example is customAttributes.channel, which is auto-stamped from the parent Interaction's Origin (for example, Phone, Email, Web). Content Recommendations also stamps customAttributes.source with contentSuggestions so you can route that card independently of manual search. Other callers can set additional keys as needed. Content anchoring suggestion searches set customAttributes.useCase to ContentAnchoring; visit Route content anchoring suggestions. |
Examples
The examples below show common dispatch patterns. Paste the JSON into the Criteria field as written.
Route every published-document search to Data 360
Use this pattern when you want all published-document searches to use Data 360 while leaving other callers (REST endpoints, admin list views) on Einstein.
{
"path": "publishedOnly",
"operator": "isTrue"
}
Pair the criteria with these dispatch fields:
- Search Algorithm:
DATA_360 - Search Type:
Hybrid - Search Index:
<your_index>_index__dlm - Data Space:
default - Min Search Score:
0.80
Route only US published-document searches to Data 360
Use this pattern when you want to limit Data 360 to a specific Country. Other countries fall through and run on Einstein.
{
"AllTrue": [
{ "path": "publishedOnly", "operator": "isTrue" },
{ "path": "regionCodes", "operator": "Includes", "value": "US" }
]
}
Route phone-channel published-document searches to Data 360
Use this pattern when you want to differentiate by the channel through
which the originating interaction was received. The
customAttributes.channel value is stamped from the parent
Interaction's Origin.
{
"AllTrue": [
{ "path": "publishedOnly", "operator": "isTrue" },
{ "path": "customAttributes.channel", "operator": "Equals", "value": "Phone" }
]
}
Route Content Recommendations searches independently
Use this pattern when you want Content Recommendations traffic to use a different search backend or scoring threshold than manual Search Content. For example, you might send recommendations to Einstein search instead of Data 360, so automatic recommendations don't add to Data 360 costs.
Every search from the Content Recommendations card sets customAttributes.source to contentSuggestions. To route these searches separately, create a Content Search Settings record whose criteria match that value:
{
"AllTrue": [
{ "path": "publishedOnly", "operator": "isTrue" },
{ "path": "customAttributes.source", "operator": "Equals", "value": "contentSuggestions" }
]
}
On the same record, set Search Algorithm, Search Type, and any other dispatch fields that should apply only to recommendations. Give the record a lower Order value than any broader, catch-all rules so that it's evaluated first.
Configure Data 360 dispatch
To route a slice of traffic to Data 360, complete the following steps:
-
In Setup → Custom Metadata Types → Content Search Settings.

-
Click Manage Content Search Settings and then click New to create a new record.

-
Configure the following:

- Label - Enter a Label that describe the slice (for example,
US Published Docs). - Order - Enter a value that reflects how specific the record is. Lower values evaluate first.
- Criteria - Paste a criteria JSON document that matches the slice. See Examples.
- Search Algorithm - Select
Data_360. - Search Type - Choose either
HybridorVector, depending on your Data Cloud index. - Search Index - Enter your Data Cloud DLO (Data Lake Object) name. The value must end with
_index__dlm. - Data Space - Enter your Customer Data Platform data space (typically
default). - Min Search Score - Specify a value between
0and1(for example,0.80). The value is compared with the vector score on both search types. - Index Filter Fields - Optional. Enter the JSON map of your index's filter fields. See Filter documents inside the index.
- Label - Enter a Label that describe the slice (for example,
-
Save. If any of the four Data 360 fields are blank, the
CM_Data_360_Requires_Full_Configvalidation rule blocks the save with a descriptive error.
Data 360 dispatch requires that your Data Cloud DataKit and Data Lake Object (DLO) ingestion is configured and running. The DataKit is a separate prerequisite to Content Search Configuration. The value you enter in Search Index must match the DLO name that the DataKit creates.
Validate the configuration
After you save the record, run a test search that matches your criteria. Confirm that:
- Results are returned (Data 360 returns no results when nothing exceeds the Min Search Score threshold).
- Other searches that should not match the new record continue to run on Einstein.
With the Data 360 content search connector (mvn-content-dc-search)
version 0.5 or later, Data 360 returns at most 200 documents for one
search. If Maximum Search Results in the
MCM Global Setting
is 200 or more, Data 360 searches show at most 200 results and don't
show "Search limit exceeded" when more documents match. Keep
Maximum Search Results at 199 or less for searches routed to
Data 360.
If Data 360 returns a runtime error, the exception propagates to the caller — there is no automatic fallback to Einstein. Use the save-time validation rule and a careful Min Search Score to avoid runtime errors. Content anchoring suggestions are the exception; visit Route content anchoring suggestions.
If Index Filter Fields contains a column that is not a filter field of the index, Data 360 rejects the search. See Check the column names.
Route content anchoring suggestions
Content anchoring uses
Content Search Settings records to decide where its Create Anchor
suggestions come from. Every anchoring suggestion search sets
customAttributes.useCase to ContentAnchoring, and does not set
publishedOnly, regionCodes, or customAttributes.channel. Criteria that
need one of those paths to have a value, such as publishedOnly isTrue,
never match anchoring searches. Criteria that match a missing value, such as
NotEquals or IsNull on those paths, do match them.
To route anchoring suggestions to Data 360, create a record with this criteria and a lower Order than any record that matches every request:
{
"path": "customAttributes.useCase",
"operator": "Equals",
"value": "ContentAnchoring"
}
Pair the criteria with these dispatch fields:
- Search Algorithm: Data 360 (
DATA_360) - Search Type:
Vector - Search Index:
<your_index>_index__dlm - Data Space:
default - Min Search Score: a value from
0to1, for example0
Anchoring suggestions behave differently from published-document searches in these ways:
- If no record matches, or the matching record's Search Algorithm is Einstein, anchoring suggestions use keyword matching and are labeled Content match.
- If Data 360 returns an error, or the connector is not installed or is older than version 0.5, anchoring suggestions fall back to keyword matching instead of failing.
- If Data 360 answers with no results, the author sees "No related passages found." There is no fallback in that case.
- A record whose criteria match every request also routes anchoring suggestions.
- Data 360 returns at most 25 passages, and retired document versions are removed from them afterwards. If every returned passage is from a retired version, the Suggested tab reads "No related passages found."
- Document-number searches, for example
DOC-13or13, are looked up directly first. When a document has that number, Content Search Settings are not used; otherwise the search continues as an ordinary anchoring search.
For the full procedure, visit Set up content anchoring.
Filter documents inside the index
By default, Data 360 ranks every document in the index. Medical Information Cloud then removes the results that do not match the search's filters, for example the document status, type, product, or country. When few documents match the filters, a matching document can rank below the result limit and not appear.
Index Filter Fields (CM_Index_Filter_Fields__c) lets Data 360
apply the filters before it ranks the documents. This reduces the
chance that nonmatching documents displace matching ones within the result
limit. Result limits and filters applied only after ranking can still
exclude matches, so this does not guarantee that every match is returned.
Medical Information Cloud still checks every result against the search's filters after Data 360 returns it. Filtering inside the index changes how full the result list is, not which documents are allowed.
How the filters are applied
- Searches with a product, country, or file search (for example
Search Content and Content Recommendations): Medical
Information Cloud first finds the documents that pass all of its
filters, with sharing, and sends their IDs to Data 360. This
requires the
Identry in Index Filter Fields.Vector: the full list is sent.Hybrid: a list of up to 4,096 IDs is sent. A larger list is left out, and the field filters below are sent instead.
- Searches without an ID list (for example a keyword search in a list view without full search): the search's filters on the fields in Index Filter Fields are applied inside the index.
- When Index Filter Fields is blank, nothing is applied inside the index, and searches behave as in previous releases.
Before you start
Filter fields are part of the search index. You select them when you create the index in Data Cloud (Fields for Filtering).
- An index can have up to 10 filter fields.
- You cannot add a filter field to an existing index. To change the filter fields, create a new index, wait until it is Ready, change Search Index to the new index, and then delete the old index.
- Filter values come from the data stream. A change to a document, for example a new status, reaches the index filter only after the data stream and the index refresh.
We recommend these filter fields:
| Document Version field | Why |
|---|---|
Record ID (Id) | Required for the ID list that searches with a product, country, or file search send. |
Status (CM_Status__c) | Published-document searches filter on status. |
Document Type (CM_Document_Type__c), Document Subtype (CM_Document_Subtype__c) | Common search and list view filters. |
Language (CM_Language__c) | Common search filter. |
Is Latest Version (CM_Is_Latest_Version__c) | Every list view search filters on the latest version. |
Set Index Filter Fields
Enter a JSON object. Each key is a Document Version field API name,
with the mvn__ prefix. Use Id for the record ID. Each value is the
name of the filter column in the index. In a subscriber org, Data
Cloud names the columns mvn_<field name>_c__c, and the record ID
column is Id__c.
{
"Id": "Id__c",
"mvn__CM_Status__c": "mvn_CM_Status_c__c",
"mvn__CM_Document_Type__c": "mvn_CM_Document_Type_c__c",
"mvn__CM_Document_Subtype__c": "mvn_CM_Document_Subtype_c__c",
"mvn__CM_Language__c": "mvn_CM_Language_c__c",
"mvn__CM_Is_Latest_Version__c": "mvn_CM_Is_Latest_Version_c__c"
}
Include only the fields that are filter fields of your index.
Filters that are applied inside the index
A filter is applied inside the index only when the index can apply it with the same result as the search. The table lists what is applied.
| Field type | Operators | Value format |
|---|---|---|
| Text, picklist | equals, not equals, in, not in | Text |
| Checkbox | equals, not equals, in, not in | true or false |
| Number | equals, in, greater than, greater or equal, less than, less or equal | Number |
| Date | equals, in, greater than, greater or equal, less than, less or equal | Date |
| Date/time | equals, in, greater than, greater or equal, less than, less or equal | Date/time in GMT |
| Lookup | equals | Record ID |
These filters are always left out of the index and applied after ranking only: contains (LIKE), includes and excludes, multi-select picklists, not groups, not equals and not in on number, date, date/time, and lookup fields, and blank values.
Values in the index match case exactly. A filter value that differs in
case from the stored value, for example EN_US instead of en_US,
excludes the document inside the index. Use the exact picklist values.
Check the column names
Medical Information Cloud checks only the format of each column name. It cannot check that the index has the column.
If Index Filter Fields contains a column that is not a filter field
of the index, every Data 360 search that sends that column fails
with an unknown column error (a generic error on Hybrid). After you
change Index Filter Fields or the index, run a test search and
compare each column with the index's filter fields in Data Cloud.
