Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Search API Solr Boost by Date

Security covered No further development 49 sites

Part of the Search ecosystem · 126 projects

This module adds a "Boost by Date" filter to Search API index-based views, allowing you to boost search results based on a date field without custom coding. This is particularly useful when you need to apply different date boosting configurations to multiple views that share the same Search API index.

Deprecated

Since Search API Solr 4.1.12 date boosting is supported by that module itself. Therefore, you need this module only if you want to set different date boosting for multiple views using the same Search API index.


More information about Search API date boosting feature

Search API Solr doesn't provide a way to set boosting the results by date from the UI. Instead, you have to alter the query programmatically as said in #2855329: Document how to boost by a date field?.

Description

This module provides a "Boost by Date" views filter to Search API index-based views that can be used to achieve the boosting without programming.

Usage

1. create a Search API solr server and index.
2. set at least one "Date" field in the index. For example, the node's created field can be used.
3. create a Search API index view.
4. set descending order by relevance.
5. add "Boost by Date" filter.
6. Optional: you can tweak the parameters for calculating the boost. You can read information about these parameters here: https://www.hashbangcode.com/article/drupal-8-date-search-boosting-searc...

Drupal 8–11

Ask your assistant about Search API Solr Boost by Date

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.3 Stable 8–11 Jun 15, 2024