stupid mistake...forgot to close the IndexWrite which creates an index if one doesn...
authorjohn <john>
Mon, 13 Jan 2003 22:42:35 +0000 (22:42 +0000)
committerjohn <john>
Mon, 13 Jan 2003 22:42:35 +0000 (22:42 +0000)
source/mircoders/producer/IndexingProducerNode.java

index c5de80a..8cd82b8 100755 (executable)
@@ -1,5 +1,4 @@
-/*
- * Copyright (C) 2001, 2002  The Mir-coders group
+/* Copyright (C) 2001, 2002  The Mir-coders group
  *
  * This file is part of Mir.
  *
@@ -94,6 +93,7 @@ public class IndexingProducerNode implements ProducerNode {
       if (! (IndexReader.indexExists(indexPath))){
        aLogger.error("Didn't find existing index, so I'm making one in "+indexPath);
        IndexWriter indexCreator = new IndexWriter(indexPath,new StandardAnalyzer(),true);
+       indexCreator.close();
       }
 
       indexReader = IndexReader.open(indexPath);