Monday, February 27, 2006 08:13 AM
I have an index with some fields, one of them is a String representing a date in the format yyyyMMddHHmmss.
I store this field as a Keyword to be sortable.
My problem is that I obtain the results in the same order with
Hits hits = is.search(query, new Sort("formatted-date"));
Hits hits = is.search(query, new Sort("formatted-date", true));
does anyone knows why this could be happening?