I would put a date/time field on files and use that to filter results. If it is just "most recently added generation of files", then I would add a generation counter and filter on the most recent value (which would be stored outside Lucene.
On Mon, Jul 25, 2011 at 12:03 AM, raygrrr <[email protected]> wrote: > Hi chaps, > > I want to just use lucene to search for newly added/updated files from a > directory/computer, so I need to get a list of those files (location, name, > size and date etc.). > > I wonder whether I can use lucene to do that, if not then what do you think > I should use? > > Many thanks for your help here! > Ray > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Can-I-search-for-latest-updated-files-tp3196735p3196735.html > Sent from the Lucene - General mailing list archive at Nabble.com. >
