commit | cdd465b5164323825acb107558d9cb3b3661e8f9 | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Mon Feb 24 18:47:38 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Mon Feb 24 18:47:38 2014 +0000 |
tree | 2a48880cc3dbd952a763c177cf4352ebfb9207d4 | |
parent | ad269345745f100abcf86cb303aba93cb2b2a68e [diff] |
Return backend version in results
diff --git a/src/test/java/de/ids_mannheim/korap/index/TestMatchIndex.java b/src/test/java/de/ids_mannheim/korap/index/TestMatchIndex.java index c1855da..48d6815 100644 --- a/src/test/java/de/ids_mannheim/korap/index/TestMatchIndex.java +++ b/src/test/java/de/ids_mannheim/korap/index/TestMatchIndex.java
@@ -290,5 +290,7 @@ assertEquals("totalResults", 1, kr.totalResults()); assertEquals("SnippetBrackets (0)", "... ca[{1:ba{2:c}}]", kr.match(0).snippetBrackets()); + + // System.err.println(kr.toJSON()); }; };
diff --git a/src/test/resources/index.properties b/src/test/resources/index.properties new file mode 100644 index 0000000..fa1fd47 --- /dev/null +++ b/src/test/resources/index.properties
@@ -0,0 +1 @@ +lucene.index.version = ${project.version}