lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Lamas" <enrique.la...@corp.ya.com>
Subject Problem with reverse ordering
Date Mon, 27 Feb 2006 11:12:22 GMT
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));


doen anyone why this could be happening?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message