lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sendros, Jason" <Jason.Send...@VerizonWireless.com>
Subject RE: indexing question, please have a look :)
Date Tue, 02 Aug 2011 14:49:19 GMT
Keeping track of modifications will have to occur outside of Lucene.
What you could do is check the file's metadata, particularly creation
date or modification date, and only index (or reindex) files based on
these values.

For example:
1. Created today: Fresh index
2. Created yesterday, modified today: reindex
3. Created yesterday, modified yesterday: no indexing needed

-----Original Message-----
From: raygrrr [mailto:raygrrr@gmail.com] 
Sent: Sunday, July 31, 2011 10:53 PM
To: general@lucene.apache.org
Subject: RE: indexing question, please have a look :)

Thanks Jason, my basic need is to search for Date and Time ranges of
files.
For instance, I'd like to find all files on my local file system which
were
modified in April 2011. 

My concern is that I don't know what files are new or modified when
indexing
a directory. 



Many thanks for your help!

--
View this message in context:
http://lucene.472066.n3.nabble.com/indexing-question-please-have-a-look-
tp3209149p3214763.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message