Here’s the complete solution addressing all three focus areas:
Custom Entity Mapping Fix:
First, modify your entity definitions to make optional searchable fields truly optional for indexing. Navigate to Setup > Custom Entities > Product_Specs__c and Technical_Docs__c. Edit the search configuration:
<searchConfig>
<entity name="Technical_Docs__c">
<field name="Title__c" required="true"/>
<field name="Description__c" required="false"/>
<field name="Category__c" required="true"/>
</entity>
</searchConfig>
This allows records with empty Description fields to be indexed based on other searchable fields.
Search Index Rebuild Process:
After updating the configuration, perform a full reindex with validation:
POST /api/v1/search/index/rebuild
{
"entities": ["Product_Specs__c", "Technical_Docs__c"],
"validateBeforeIndex": true,
"skipInvalidRecords": false
}
The skipInvalidRecords: false parameter ensures you get detailed error logs for any records that fail indexing, rather than silently skipping them.
Advanced Filter Configuration:
Review your entity-level filters in Setup > Search Settings > Advanced Filters. Remove or modify any overly restrictive criteria:
- Check for hidden date filters (Created_Date, Modified_Date)
- Verify Status__c field filters aren’t excluding valid records
- Ensure lookup relationship filters aren’t causing cascading exclusions
After making these changes, monitor the reindex operation. You should see the indexed count approach the total record count. In our case, we went from 60% indexing coverage to 98% (the remaining 2% were legitimately invalid records with missing required fields). The key was making the Description field optional for indexing while keeping Title and Category as required fields, which gave us the flexibility we needed without sacrificing search quality.
Also implement a validation workflow that runs before indexing to flag records with incomplete data, so you can address data quality issues proactively rather than discovering them through incomplete search results.
This draft is based on general Adobe Experience Cloud knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.