Re: java.io.Ioexception cannot overwrite fdt

2008-06-24 Thread Michael McCandless
Are you by any chance, separately, removing files from your index directory manually? That's the one case I know of which can lead to that exception, if you also have an IndexReader open on the directory at that time. The code below has one problem. In your if statement true & false c

Re: java.io.Ioexception cannot overwrite fdt

2008-06-23 Thread Sebastin
Hi, I am using Lucene to index text based files : File file = new File("C:/index"); if(file.exists() == false{ IndexWriter writer = new IndexWriter(file,new StandardAnalyzer(),true); }

Re: java.io.Ioexception cannot overwrite fdt

2008-06-23 Thread Michael McCandless
Can you describe how you are using Lucene, and provide a full traceback? Mike Sebastin wrote: Hi All, I am facing this error while doing Indexing text files.can anyone guide me how to resolve this issue. -- View this message in context: http://www.nabble.com/java.io.Ioexception-cannot-o