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
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);
}
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