What is Search Flattening and When Should It Be Used?
Applicable to CrafterCMS 4.1
Russ Danner

CrafterCMS indexes content into OpenSearch to support search and sophisticated query use cases. As part of its indexing behaviors, CrafterCMS can combine or flatten child content into parent content within the OpenSearch index to create a single record that can be addressed in one query. This would otherwise be multiple index records and would likely require multiple queries. This behavior is (unsurprisingly) called Search Flattening.
This behavior can be very beneficial but it in some cases it is not the appropriate behavior for the use case and can lead to large index records, performance issues and operational errors. Check out the video below to learn more about what Search Flattening is, when to use it and how to configure it.
Related Posts

Architected for Scale: Managing 1000s of Sites and Users with CrafterCMS

Amanda Jones

How to Enable Indexing of Custom File Types in Crafter Studio

Phil Nguyen

Cloud-Native Digital Experiences at Momentum Financial

Sara Williams

CrafterCMS v4.3.1 Released: Enhanced Control, Performance, and Developer Experience

Amanda Lee