What problem does it solve?
Integrating Elasticsearch into a ColdBox/BoxLang application requires correct client configuration, index mapping design, reliable bulk operations, and safe reindexing procedures; this Skill centralizes installation instructions, API usage patterns, and production best practices to reduce errors and downtime.
Core Features & Use Cases
- Installation & Configuration: guidance for module installation, host and credential configuration, and environment-safe secrets handling.
- Indexing: single-document saves, bulk indexing workflows, mementos for model serialization, and mapping recommendations.
- Search and Analytics: building full-text queries with the Query DSL, filters, range queries, aggregations for faceted search, highlighting, and paginated or scroll-based retrieval.
- Operational Patterns: index alias management for zero-downtime reindexing, health checks, and performance recommendations for production clusters.
- Use Case Example: implement a product catalog search with keyword relevance, category facets, price range filters, and zero-downtime mapping changes.
Quick Start
Use the cbelasticsearch skill to index your product records into an Elasticsearch index and return paginated, filtered search results.