lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terry Steichen" <>
Subject Re: example
Date Mon, 07 Apr 2003 12:31:28 GMT

I believe there's another method in DateField that converts the value into a
human readable form.



----- Original Message -----
From: "Simon Lieschke" <>
To: <>
Sent: Monday, April 07, 2003 12:41 AM
Subject: example

The example code that ships with Lucene includes the following snippet in

    // Add the last modified date of the file a field named "modified".  Use
    // Keyword field, so that it's searchable, but so that no attempt is
    // to tokenize the field into words.

Now, I guess the point of this is so that we can search for HTML documents
using Lucene's range search syntax. But as far as I can tell, the result of
DateField.timeToString(f.lastModified()) returns a non-human readable date
format, hence the modified field will not really be "human searchable"
format. Is this an oversight in the example implementation, or am I just
missing something else here?

Thanks in advance,


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

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

View raw message