On Fri, 11 Jul 2003 04:38 am, Wilton, Reece wrote:
> There is a Field.Keyword factory method that takes a date. I'm using it
> like this:
>
> searchDoc.add(Field.Keyword("TIMESTAMP", new Date()));
> The only thing I can see is getting a String or a Field from Hits. And
> Field only allows you to get a String from it. Should I be using the
> readerValue() for this?
Convert the string that you get using DateString.stringToDate(String s)
method.
HTH,
victor
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]