Support future dates for "Boost more recent dates" processor

Created on 17 February 2023, over 1 year ago
Updated 16 February 2024, 4 months ago

Setup

  • Solr version: 8.7.0
  • Drupal Core version: 9.5.2
  • Search API version: 1.28.0
  • Search API Solr version: 4.2.10
  • Configured Solr Connector: Standard

Issue

Is there a reason why the "Boost more recent dates" processor doesn't take into account future dates?
As explained here and there it would need the abs() function added here: https://git.drupalcode.org/project/search_api_solr/-/blob/4.x/src/Plugin...

Right now future dates can even result in a negative boosting if it's far enough in the future.

Proposed resolution

Add a "Support future dates" checkbox to the processor and if checked apply abs()

✨ Feature request
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium herved

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

Comments & Activities

Production build 0.69.0 2024