CMS Search Boost
The CMS Search Boost plugin lets you customize how search results are ranked in the Brightspot CMS. Configure boost rules to prioritize results based on text matching, content type, or recency—all without writing code.
Features
- Text matching boosts — Prioritize results where a field exactly matches, partially matches, or starts with the search query
- Content type boosts — Always surface certain content types higher in results
- Date-based boosts — Favor newer or older content based on a date field
- Semantic matching — Match phonetically similar terms (e.g., "nooz" finds "news")
- Per-site configuration — Each site can have its own boost rules, with global fallback
Installation
Requirements
Requires Brightspot 4.5 or later.
- Maven
- Gradle
- Gradle (Kotlin DSL)
<dependency>
<groupId>com.brightspot.cms-search-boost</groupId>
<artifactId>cms-search-boost</artifactId>
<version>__HIDDEN__</version>
</dependency>
implementation 'com.brightspot.cms-search-boost:cms-search-boost:__HIDDEN__'
implementation("com.brightspot.cms-search-boost:cms-search-boost:__HIDDEN__")
Quick Start
Global Configuration (All Sites)
- Navigate to Admin > Plugins
- Select CMS Search Boost and click New Plugin
- Under Default Configuration, select Set then select Custom for the Boost Configuration
- Click Add to create your first boost rule
- Choose a boost type, configure the field or content type, and set a weight
Site-Specific Configuration
- Navigate to Admin > Sites & Settings
- Select your site
- Go to the Plugins tab
- Under Configs click Add and create a new CMS Search Boost Configuration
- Under Boost Configuration, select Custom
- Click Add to create boost rules for this site
- Save the new CMS Search Boost Configuration, apply it to the Configs field, and save the site.
Changes take effect immediately for CMS searches.
Example Configuration
A typical configuration might include:
| Boost Type | Field/Type | Weight | Purpose |
|---|---|---|---|
| Exact Match | cms.content.searchableText | 80 | Strongly prioritize exact title matches |
| Partial Match | cms.content.searchableText | 40 | Boost results containing query terms |
| Content Type | Article | 30 | Surface articles over other content |
| Newest | cms.content.publishDate | 20 | Prefer recently published content |
How Weights Work
Each boost has a weight from 0-100:
- 0 — No effect (boost factor of 1.0)
- 50 — Moderate boost (~1,000x factor)
- 100 — Maximum boost (~1 billion factor)
The scale is logarithmic, so small weight differences at lower values have subtle effects, while higher weights create dramatic prioritization.
tip
Start with weights between 20-60 and adjust based on search results. You rarely need weights above 80.
Next Steps
- Configuration Guide — Detailed setup instructions
- Boost Types Reference — All available boost types explained
- Extending the Plugin — Create custom boost types (for developers)