Commit 78520e73e5c7f0ab4d19f05fd70bda3f7cbf4d6e

Authored by Sergio Oliveira
1 parent bbb5ba54

Boosting query by time as well

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/search/forms.py
... ... @@ -100,7 +100,8 @@ class ColabSearchForm(SearchForm):
100 100 'dismax',
101 101 q,
102 102 pf='title^2.1 author^1.9 description^1.7',
103   - mm='2<70%'
  103 + mm='2<70%',
  104 + b='recip(ms((NOW/HOUR),(modified/HOUR)),3.16e-11,1,1)',
104 105 ))
105 106  
106 107 if self.cleaned_data['type']:
... ...