Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: Mac OS X 10.3
Platform: Macintosh
-
33820
Description
Index: src/test/org/apache/lucene/IndexTest.java
===============================================================
====
— src/test/org/apache/lucene/IndexTest.java (revision 155945)
+++ src/test/org/apache/lucene/IndexTest.java (working copy)
@@ -27,8 +27,7 @@
public static void main(String[] args) {
try {
Date start = new Date();
- // FIXME: OG: what's with this hard-coded dirs??
- IndexWriter writer = new IndexWriter("F:
test", new SimpleAnalyzer(),
+ IndexWriter writer = new IndexWriter(File.createTempFile("luceneTest","idx"), new
SimpleAnalyzer(),
true);
writer.setMergeFactor(20);