Closed (fixed)
Project:
Search API Solr
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Oct 2019 at 14:41 UTC
Updated:
6 Jun 2021 at 18:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dksdev01 commentedTemporary fix --
using hook_search_api_solr_converted_query_alter
Not sure if it helps.
Comment #3
mkalkbrennerComment #4
mkalkbrennerIdeally we create a Search API Processor where you can enter the numbers for the date calculation.
And instead of manipulating the query we will nativly support this feature regardless of the chosen query parser.
(We're still looking for a sponsor or a contribution here.)
Comment #5
mkalkbrennerMy suggestion is that we provide a sophisticated config form that allows a setting for every date field in the index:
A more convenient settings form that provides preselected combinations could be added later in a second step.
The settings are required to adjust the scoring across a configurable period of time. Otherwise you end up in one hardcoded algorithm that for example boosts the last 4 days very high, the last week a bit and eveything els is not effected while others need to rank documents from the least year higher compared to two years ago.
Comment #6
mkalkbrennerComment #12
mkalkbrenner