- Removed FIXMEs

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157224 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2005-03-12 03:31:05 +00:00
parent 0d8a41342e
commit 1a3ce57455
1 changed files with 6 additions and 8 deletions

View File

@ -27,14 +27,12 @@ class IndexTest {
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(),
true);
IndexWriter writer = new IndexWriter(File.createTempFile("luceneTest", "idx"),
new SimpleAnalyzer(), true);
writer.setMergeFactor(20);
// FIXME: OG: what's with this hard-coded dirs??
indexDocs(writer, new File("F:\\recipes"));
indexDocs(writer, new File("/tmp"));
writer.optimize();
writer.close();