> I have been using the Lucene 2.0 distro Index to index my files, currently > it indexes filepath and contents. I want to index, lastModified() (Returns > the time that the file denoted by this abstract pathname was last > modified.), and file length, length(). > > Can someone please show me how to do that? I am not too strong with Java, > some example code would be nice!
IndexFiles in Lucene Demo shows how to index the lastModified info - - http://lucene.apache.org/java/docs/api/org/apache/lucene/demo/IndexFiles.html - http://lucene.apache.org/java/docs/api/org/apache/lucene/demo/FileDocument.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]