RE: Using Lucene to Query File properties in Windows

2010-05-18 Thread Uwe Schindler
Hi, this works fine with Lucene. Use NumericField and NumericRangeQuery to index the file date (File.lastModified as NumericField.setLongValue()). - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: vijay r

Re: Using Lucene to Query File properties in Windows

2010-05-18 Thread Ian Lea
Sure. Create an index with fields like name: somefile.whatever creator: james lastmod: 20100518 created: 20100518 ... Make sure that the fields that you want to search on are indexed, create some queries and away you go. You'll need range queries for the before and since tests. Good luck. --