Elasticsearch integration and Sync patterns. Use when integrating Elasticsearch or implementing search index sync in NestJS. (triggers: **/*.service.ts, **/search/**, Elasticsearch, CQRS, Synchronization)
Full-text search implementation with Elasticsearch and database patterns.
await db.save(); await es.index();.
EntityUpdatedSearchModule.SearchService<T> helpers.
indexDocument(id, body)search(query, filters)class-transformer to map Entities to "Search Documents". Search docs should be flatter than Relational entities constraints.elasticsearch:8 container in the test harness to verify indexing works.elasticsearch:8 container to verify indexing behavior accurately.