Fix minor indexer bugs
diff --git a/src/test/java/de/ids_mannheim/korap/filter/TestKorapCollection.java b/src/test/java/de/ids_mannheim/korap/filter/TestKorapCollection.java
index ea35a63..bcd9ed3 100644
--- a/src/test/java/de/ids_mannheim/korap/filter/TestKorapCollection.java
+++ b/src/test/java/de/ids_mannheim/korap/filter/TestKorapCollection.java
@@ -83,16 +83,15 @@
// Construct index
KorapIndex ki = new KorapIndex();
- FieldDocument fd;
// Indexing test files
for (String i : new String[] {"00001", "00002", "00003", "00004", "00005", "00006", "02439"}) {
- fd = ki.addDocFile(
+ ki.addDocFile(
getClass().getResource("/wiki/" + i + ".json.gz").getFile(), true
);
};
ki.commit();
- fd = ki.addDocFile(getClass().getResource("/wiki/AUG-55286.json.gz").getFile(), true);
+ ki.addDocFile(getClass().getResource("/wiki/AUG-55286.json.gz").getFile(), true);
ki.commit();
diff --git a/src/test/resources/korap.conf b/src/test/resources/korap.conf
index 555b1a8..debbd62 100644
--- a/src/test/resources/korap.conf
+++ b/src/test/resources/korap.conf
@@ -1,5 +1,5 @@
# Lucene Backend properties
lucene.properties = true
lucene.index = /home/ndiewald/Repositories/korap/KorAP-modules/KorAP-lucene-index/sandbox/index
-lucene.index.commit.count = 5000
+lucene.index.commit.count = 10000
lucene.index.commit.log = log/korap.commit.log
\ No newline at end of file