projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86431ba
)
stupid mistake...forgot to close the IndexWrite which creates an index if one doesn...
author
john
<john>
Mon, 13 Jan 2003 22:42:35 +0000
(22:42 +0000)
committer
john
<john>
Mon, 13 Jan 2003 22:42:35 +0000
(22:42 +0000)
source/mircoders/producer/IndexingProducerNode.java
patch
|
blob
|
history
diff --git
a/source/mircoders/producer/IndexingProducerNode.java
b/source/mircoders/producer/IndexingProducerNode.java
index
c5de80a
..
8cd82b8
100755
(executable)
--- a/
source/mircoders/producer/IndexingProducerNode.java
+++ b/
source/mircoders/producer/IndexingProducerNode.java
@@
-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);