We have replaced Drupal's core search with SolR but we have noticed a recursiveness issue regarding the search results, for ex. when searching “executive committee”, documents created in 2006 and 2007 are listed before newer documents created in 2010. (http://www.etuc.org/search-page)
What we would like to do is to sort the articles by date and by relevance.
We have tried to alter this at the View level (date + Search:relevance) but it short circuits SolR.
We have looked at the search api settings and it seems that one cannot boost date field. Only fulltext fields are ‘boostable’ (?)
We have also found a few articles related to the subject:
How to boost relevance of Search API solr with the value of a certain field?
but they weren’t much help.
We are using Drupal 7, SolR 3 and the following modules
- Search API 7.x-1.11
- Search API autocomplete 7.x-1.0
- Search facets 7.x-1.11
- Search views 7.x-1.11
- SolR search 7.x-1.4
Does anybody has an idea how to fix this issue? Thank you very much in advance.