On Sep 20, 2005, at 12:55 PM, haipeng du wrote:
I understand that. But from Field API, there is a method of Keyword
which
accepts Date object as value. When I use that method to index, I
can not get
real date back. I also use other method to pass a string value to
index.
That works great. D
I understand that. But from Field API, there is a method of Keyword which
accepts Date object as value. When I use that method to index, I can not get
real date back. I also use other method to pass a string value to index.
That works great. Does that mean I can not use that method to index keyw
Lucene only uses strings to store and search, you should convert any
objects to string.
For dates you have a special Date field that you should use which
converts dated to a searchable strings
Aviran
http://www.aviransplace.com
-Original Message-
From: haipeng du [mailto:[EMAIL PROTECTED