Re: Purpose of the file modification date methods in Directory?

2009-09-01 Thread cemerick
Fair enough. This Directory impl is really only useful in conjunction with other usage of the jdbm embedded database -- I can't imagine people layering other Lucene-dependent projects on top (like Solr or whatever). I suppose if that time ever comes, I'll revisit the issue. :-) - Chas hossman

Re: Purpose of the file modification date methods in Directory?

2009-08-28 Thread cemerick
andless-2 wrote: > > IndexReader.lastModified returns lastModified of the latest segments_N > file. Also, IndexCommit exposes a lastModified which is the > lastModified of the segments_N file for that commit point. > > Otherwise I don't think Lucene uses it elsewhere. > > Mike >

Re: Purpose of the file modification date methods in Directory?

2009-08-28 Thread cemerick
I just thought I'd ping the list once more on this question. Any thoughts? If not, I'll leave well enough alone until something breaks... :-) Thanks much, - Chas cemerick wrote: > > I've built a Lucene Directory implementation for jdbm, an embedded Java > databas

Purpose of the file modification date methods in Directory?

2009-08-25 Thread cemerick
I've built a Lucene Directory implementation for jdbm, an embedded Java database. Part of the Directory API are two methods related to "file" modification dates: touchFile and fileModified. My question is, what is the purpose of these methods? I've searched the Lucene core source tree, and found n