I released five new sample lessons from my Test With Spring course: Introduction to Spock Framework

April 2013

Spring Data Solr Tutorial: Sorting

When we are implementing a word search function, we typically want to sort the search results in descending order by using the relevancy of each search result. This is also the default behaviour of Solr. However, there are situations when it makes