Closed (fixed)
Project:
Search API
Version:
7.x-1.13
Component:
Framework
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2014 at 22:03 UTC
Updated:
31 Dec 2014 at 18:44 UTC
Jump to comment: Most recent
Comments
Comment #1
rovoComment #2
drunken monkeyNo, sorry, there currently isn't any ready-made functionality to do that in the module. For now, you'd need to write some custom code, specifically a
hook_search_api_solr_query_alter()implementation, to add the necessary boosting parameter to the Solr request yourself.However, it would probably be not too hard to add such a feature for general use in the future, once someone has the time to work on this.
Comment #3
rovoThanks!
I was able to accomplish boosting more recently created nodes, by creating this tiny module. Maybe someone else will find it of use.