search_api_date_boost
Project Summary
The Search API Date Boost module improves search relevance by boosting indexed items based on date field values. More recent content is favored using exponential decay, while future-dated content always receives maximum boost.
Features
The Search API Date Boost module adds a new Search API processor that enhances search results by applying configurable boosts to items with date fields.
Key features include:
- Boost factor configuration per date field.
- Exponential decay for past-dated content, ensuring older items gradually lose boost.
- Automatic maximum boost for future-dated content.
- Flexible decay period setting to control how quickly boosts diminish.
This module is ideal for websites with time-sensitive content such as schedules, releases, or listings where recency matters for search relevance.
Post-Installation
Once you install the Search API Date Boost module, its functionality is integrated directly into the Search API index configuration. To use it:
- Navigate to Configuration > Search API > Indexes.
- Edit your index and go to the Processors tab.
- Enable Date field-based boosting.
- Configure the boost factor and decay period for your date fields.
- Save the index and re-index your content to apply the changes.
Additional Requirements
This project relies on the following modules:
- Search API
- Search API Database
- Search API DB Defaults
No other third-party libraries or APIs are required.
Recommended modules/libraries
While this module is designed specifically for Search API Database, it may be extended in the future to support other backends such as Solr or Elasticsearch.
Similar projects
Other modules may offer boosting strategies for Search API, but this module is unique in its focus on date-based boosting with exponential decay and special handling for future-dated content.
Support for this Module
Support this project by reporting bugs, suggesting new features, or contributing code in the issue queue. Your feedback and contributions are valuable.
Community Documentation
More detailed documentation and usage examples may be available on the project page. Please check back for updates.