[ignore last message - result of a caffeine-starved keyboard slip] Doesn't sound like you have much in the way of Lucene-related criteria here other than the possibility of a fuzzy match on filename. The other stuff you mention isn't "relevance ranked" criteria like most text searches so it sounds to me like a database is more suited. If you want to search the *content* of files then Lucene may be more relevant. HSQLDB or Derby can be embedded in your Java app. You may want to look at the example Lucene file-based indexer however for a starting point in crawling a file system and storing only changed content and removing deleted files from your file metadata store.
Cheers, Mark (waking up slowly) --- [EMAIL PROTECTED] wrote: > Thanks. I will take a look at those classes. > I do need to support search queries like: > - Find all files that are named foo.doc. > - Find all the files that have not been accessed in > last 6 > months(atime). > - Find all PDF files with size > 2 MB > > The HW requirements are flexible in terms of memory > and CPUs. But there > will be no DBA to babysit the DB, so it has to be an > embedded DB. > > > --- Pasha Bizhan <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > > From: [EMAIL PROTECTED] > > > > > > I am looking at Lucene to index and search file > metadata - > > > filename, size, permissions, mtime, ctime, > atime, etc. > > > > > > I do not need to index and search the contents > of the file. I > > > was wondering if Lucene is the right choice for > such an > > > application. This will be at enterprise level so > there could > > > be millions of files. > > > > Try to start from indexFiles and searchFiles > samples to test Lucene > > for your needs. > > > > > What are the pros and cons of using Lucene vs a > DB like MySQL > > > and creating indexes on it? > > > > Do you need a search? What is your typical search > query? > > What are you going to do with the results of the > search? > > How are you going to use it? Also, what is your > hardware > > requirements? Do you already have a db > administrator? > > And etc.. > > > > Pasha Bizhan > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]