Re: IndexWriter addDocument NullPointerException

2003-02-23 Thread Günter Kukies
So, weekend is over. here is some code : private void addDocument(IndexWriter writer, File file ) throws IOException, InterruptedException { String path = file.getName(); log( "-start Indexing:" + path ); Document doc = null; if(path.matches("\\d+_\\

Re: Index-file locking while searching?

2003-02-23 Thread Otis Gospodnetic
Hello, I think you didn't set that system property properly, or maybe you are using some old Lucene release that does not have this functionality. I just checked the source of FSDirectory, and the code looks right. Otis --- "Giri, Sandeep" <[EMAIL PROTECTED]> wrote: > Hi! > I don't want to give