Hi all,

I made a mistake, finished indexing all my database (millions of
documents..), regarding field dates as usual fields.
Instead of doing:
doc.add(Field.Keyword("indexDate", new Date());
I added it as:
doc.add(new Field("indexDate", String.valueOf(new Date().toString()),
Field.Store.YES, Field.Index.NOT_ANALYZED);

What should I do in this case?
Is there a way to do the manipulation in the search stage?
Note that I use lucene 2.3.2.

Thanks a lot,
Liat

Reply via email to