To
java-user@lucene.apache.org
11/17/2005
07:00 cc
AM
Subject
Oh, and sorry to miss the sorting question. Lucene can sort search
results by String or numeric values. Field.Keyword(String,Date) can
only be sorted as a String though. If you truly want to index and
sort dates but don't need hours, minutes, seconds, milliseconds, then
index them as YYY
11/17/2005 07:00 cc
AM
Subject
Re: Date Indexing
On 17 Nov 2005, at 05:43, [EMAIL PROTECTED] wrote:
I indexed dates using Field.Keyword(String,Date). The values seem
to be
encoded when I retrieve them via document.get("date"). Luke
confirmed it.
How do I decode the Date when retrieving from Document object? Or
does it
not work in vers
I indexed dates using Field.Keyword(String,Date). The values seem to be
encoded when I retrieve them via document.get("date"). Luke confirmed it.
How do I decode the Date when retrieving from Document object? Or does it
not work in version 1.4.3? Also, does Lucene only sort String values?
~~~