From: Oliver G. <o.g...@tu...> - 2012-02-24 13:51:16
|
Hi, I was looking for a way to include the publishing date into boosting of records (more recent ones should be ranked higher than olders, but not simply switching sort order), but did not find a way to accomplish that by modifiing searchspecs.yaml. Is it possible to do that by configuration? Does anybody do that by now? I have set up a patch introducing a new parameter for query; setting this parameter will do something like that: http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents For me, only the first solution of this article (the one concerning Solr 1.3) worked effectively, even though I have Solr 1.4. I can open a new ticket and submit my patch there, if this might be helpful for anyone. - Oliver -- Oliver Goldschmidt TU Hamburg-Harburg / Universitätsbibliothek / Digitale Dienste Denickestr. 22 21071 Hamburg - Harburg Tel. +49 (0)40 / 428 78 - 32 91 eMail o.g...@tu... -- GPG/PGP-Schlüssel: http://www.tub.tu-harburg.de/keys/Oliver_Marahrens_pub.asc -- Projekt DISCUS http://discus.tu-harburg.de Projekt TUBdok http://doku.b.tu-harburg.de |