From af1506b1a2b5642d58c6584a120cdde07e812bad Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Thu, 28 Nov 2013 14:13:51 -0200 Subject: [PATCH] Link to solr doc on date boosting --- src/search/forms.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/src/search/forms.py b/src/search/forms.py index 9125e59..a6633c3 100644 --- a/src/search/forms.py +++ b/src/search/forms.py @@ -101,6 +101,8 @@ class ColabSearchForm(SearchForm): 'q.alt': '*.*', 'pf': 'title^2.1 author^1.9 description^1.7', 'mm': '2<70%', + + # Date boosting: http://wiki.apache.org/solr/FunctionQuery#Date_Boosting 'bf': 'recip(ms(NOW/HOUR,modified),3.16e-11,1,1)^10', } -- libgit2 0.21.2