I was afraid this would be the answer..
Thanks a lot!
Liat
On 29 June 2010 12:03, Ian Lea wrote:
> How are you searching? If looking for exact dates I guess you could
> make it work by passing in the exact value but ranges would be
> challenging.
>
> My advice would be to upgrade to a current v
How are you searching? If looking for exact dates I guess you could
make it work by passing in the exact value but ranges would be
challenging.
My advice would be to upgrade to a current version of Lucene and
reindex everything with the date as a NumericField.
--
Ian.
On Tue, Jun 29, 2010 at
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, Fiel
propriate.
>> In my lucene document, I have two date fields: start and end date.
>> As a search input I have current date (NOW).
>> I need to display all documents for which current date is between
>> start and end dates.
>>
>> I know that this could be performe
On Sep 29, 2009, at 11:30 AM, Dragan Jotanovic wrote:
Hi, I was thinking a long time how to implement this kind of
functionality but couldn't figure out anything appropriate.
In my lucene document, I have two date fields: start and end date.
As a search input I have current date (NOW).
I
Hi, I was thinking a long time how to implement this kind of
functionality but couldn't figure out anything appropriate.
In my lucene document, I have two date fields: start and end date.
As a search input I have current date (NOW).
I need to display all documents for which current date is be