Hi

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:

searcher.search(query, new SortField("date", true));
searcher.search(query, new SortField("date", false));

they both return the same order.

Any idea? Thanks.

Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to