AnsweredAssumed Answered

Lucene search date sort

Question asked by robain on Jun 8, 2011
We have something like the following for sorting the search results by a date field. But seems like
sorting never happens in the results. Is there anything additional needed for the sorting
to work. Checking this on version 3.3.2 Enterprise.

SearchParameters sp = new SearchParameters();

sp.addSort("@{}my_date", false);
resultSet = searchService.query(sp);