dcsimg
Problem with reverse ordering
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Enrique_Lamas
Posted On:   Monday, February 27, 2006 08:13 AM

Hi,


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"));
than


Hits hits = is.search(query, new Sort("formatted-date", true));


does anyone knows why this could be happening?


Thanks

About | Sitemap | Contact