Boost more recent dates processor does not seem to work

Created on 25 September 2023, 9 months ago
Updated 6 October 2023, 9 months ago

Setup

  • Solr version: 8.11.2
  • Drupal Core version: 9.5.11
  • Search API version: 1.29
  • Search API Solr version: 4.3.0
  • Configured Solr Connector: Standard

Issue

For our project I want to give recently created nodes a boost in the search results. I tried using the 'Boost more recent dates' processor to get the newer nodes higher up in the ranking of the search results. I added different values to the boost of the 'created' field, but it had no impact to the search results where older nodes still appeared on top of the results. Even a boost of 21 does not make a change.

While searching for a solution I stumbled upon this issue: https://www.drupal.org/project/search_api_solr/issues/2855329 β†’ where in comment #14 a patch was added for version 2.x. I applied the changes of this patch to our project and this seemed to be the trick. Recently added items now have a boost in the search results and appear higher in the results.
Added is the patch for the 4.3.0 version.

πŸ’¬ Support request
Status

Fixed

Version

4.3

Component

Miscellaneous

Created by

πŸ‡³πŸ‡±Netherlands EstherTempel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024