Re: Apache Lucene file search

2012-02-06 Thread Dheeraj Kv
available by default. If parser.setAllowLeadingWildcard(true) is set to false the code cant find the file name. If the file name consists of a string xyz, the query option should have *xyz*. Dheeraj KV -Original Message----- From: Dheeraj Kv To: java-user Sent: Wed, Feb 1, 20

Apache Lucene file search

2012-02-01 Thread Dheeraj Kv
ex of the same directory. Can you put some light on it. I used IndexFiles and SearchFiles APIsfor this purpose. Commands I used was: Indexing java org.apache.lucene.demo.IndexFiles -index /mnt1 -docs /Documents Searching java org.apache.lucene.demo.SearchFiles -index /mnt1 Regards Dheeraj KV