lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben <>
Subject Sorting isn't working for my date field
Date Mon, 21 Feb 2005 15:34:14 GMT

Do I need to store and index the field I want to sort? Currently I am
only indexing the field without storing nor tokenizing it.

I have a date field indexing as yyyyMMdd and I have two documents with
the same date. When I do my search with:, new SortField("date", true));, new SortField("date", false));

they both return the same order.

Any idea? Thanks.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message