commit | 5c67dd5c4f5878c0b75261dd2a82aa5326656010 | [log] [tgz] |
---|---|---|
author | margaretha <margaretha@ids-mannheim.de> | Tue Dec 18 17:27:05 2018 +0100 |
committer | margaretha <margaretha@ids-mannheim.de> | Tue Dec 18 17:29:38 2018 +0100 |
tree | 7dc45a7b1c977108b478920d39bf8dd5808ebb8a | |
parent | 79d738c1871367c29d024a30f860f9bff6b46a33 [diff] |
Updated RewriteHandler and tests using BeanConfigTest. Change-Id: I8e8e2756ccfe4e995b3dcaffd3eb2852ecc88353
diff --git a/core/Changes b/core/Changes index 210c625..ee3b3cb 100644 --- a/core/Changes +++ b/core/Changes
@@ -1,6 +1,8 @@ # version 0.61.5 -17/11/2018 +17/12/2018 - Added search timeout in meta query (margaretha) +18/12/2018 + - Updated RewriteHandler (margaretha) version 0.61.4 14/11/2018
diff --git a/core/src/main/java/de/ids_mannheim/korap/resource/rewrite/RewriteHandler.java b/core/src/main/java/de/ids_mannheim/korap/resource/rewrite/RewriteHandler.java index 59101c1..130bc2d 100644 --- a/core/src/main/java/de/ids_mannheim/korap/resource/rewrite/RewriteHandler.java +++ b/core/src/main/java/de/ids_mannheim/korap/resource/rewrite/RewriteHandler.java
@@ -150,10 +150,10 @@ } - public <T extends ContextHolder> void insertBeans (T beans) { - this.beans = beans; - this.config = beans.getConfiguration(); - } +// public <T extends ContextHolder> void insertBeans (T beans) { +// this.beans = beans; +// this.config = beans.getConfiguration(); +// }
diff --git a/core/src/main/java/de/ids_mannheim/korap/web/SearchKrill.java b/core/src/main/java/de/ids_mannheim/korap/web/SearchKrill.java index f3505ce..65be493 100644 --- a/core/src/main/java/de/ids_mannheim/korap/web/SearchKrill.java +++ b/core/src/main/java/de/ids_mannheim/korap/web/SearchKrill.java
@@ -83,9 +83,9 @@ } if (index != null){ String result = new Krill(json).apply(index).toJsonString(); -// if (DEBUG){ + if (DEBUG){ jlog.debug(result); -// } + } return result; } Result kr = new Result();