Performance improvements Updates in CHANGES
diff --git a/src/main/java/de/ids_mannheim/korap/index/FieldDocument.java b/src/main/java/de/ids_mannheim/korap/index/FieldDocument.java
index 292592c..8363bf2 100644
--- a/src/main/java/de/ids_mannheim/korap/index/FieldDocument.java
+++ b/src/main/java/de/ids_mannheim/korap/index/FieldDocument.java
@@ -19,9 +19,6 @@
import java.util.*;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
/*
Todo: Store primary data at base/cons field.
All other Termvectors should have no stored field!
@@ -36,8 +33,6 @@
public class FieldDocument extends KorapDocument {
ObjectMapper mapper = new ObjectMapper();
- private final static Logger log = LoggerFactory.getLogger(FieldDocument.class);
-
public Document doc = new Document();
private FieldType tvField = new FieldType(TextField.TYPE_STORED);
diff --git a/src/main/java/de/ids_mannheim/korap/query/SpanNextQuery.java b/src/main/java/de/ids_mannheim/korap/query/SpanNextQuery.java
index 22c55e7..6a51062 100644
--- a/src/main/java/de/ids_mannheim/korap/query/SpanNextQuery.java
+++ b/src/main/java/de/ids_mannheim/korap/query/SpanNextQuery.java
@@ -20,7 +20,7 @@
import de.ids_mannheim.korap.query.spans.NextSpans;
/** Matches spans which are directly next to each other.
- * This is identical to a phrase query with exactly two clauses.
+ * this is identical to a phrase query with exactly two clauses.
*/
public class SpanNextQuery extends SimpleSpanQuery implements Cloneable {
diff --git a/src/test/resources/queries/cosmas20.json b/src/test/resources/queries/cosmas20.json
index 3a4e040..86a7df6 100644
--- a/src/test/resources/queries/cosmas20.json
+++ b/src/test/resources/queries/cosmas20.json
@@ -4,7 +4,7 @@
"@type" : "korap:group",
"operation" : "operation:submatch",
"classRef" : [ 1 ],
- "operands" : [ {
+ "operands" : [ {
"@type" : "korap:group",
"operation" : "operation:position",
"frame" : "frame:endswith",