commit | 20944f8370fc39a1c666f364a0ad4a5a0e3eb041 | [log] [tgz] |
---|---|---|
author | Eliza Margaretha <margaretha@ids-mannheim.de> | Wed Oct 01 10:33:46 2014 +0000 |
committer | Eliza Margaretha <margaretha@ids-mannheim.de> | Wed Oct 01 10:33:46 2014 +0000 |
tree | ddaf3ead80d373dc6ce753680446150b863134c7 | |
parent | 4026054ed4492186bf6d7fa5962139405c7bd20f [diff] |
Added test for CQL AND (sentence distance 0) including retrieve json query and rewrite it to spanquery.
diff --git a/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceIndex.java b/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceIndex.java index 07a2174..2e10fc7 100644 --- a/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceIndex.java +++ b/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceIndex.java
@@ -223,10 +223,10 @@ sq = sqwi.toQuery(); kr = ki.search(sq, (short) 10); - for (KorapMatch km : kr.getMatches()){ + /* for (KorapMatch km : kr.getMatches()){ System.out.println(km.getStartPos() +","+km.getEndPos()+" " +km.getSnippetBrackets()); - } + }*/ }