Added new sample index with availability values
Change-Id: Ia2ed62d9e42bca5cbfb33aa42bde45f07ba117a8
diff --git a/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoLegacyServiceTest.java b/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoLegacyServiceTest.java
index d5b85fc..17914c0 100644
--- a/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoLegacyServiceTest.java
+++ b/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoLegacyServiceTest.java
@@ -44,12 +44,10 @@
node.at("/subTitle").asText());
assertEquals("Goethe, Johann Wolfgang von",
node.at("/author").asText());
- assertTrue(node.at("/snippet").asText()
- .startsWith("<span class=\"context-left\"></span>"
- + "<span class=\"match\"><span title=\"corenlp/p:ADV\">"
- + "<span title=\"opennlp/p:ADV\">"
- + "<span title=\"tt/l:fern\">"
- ));
+ assertTrue(node.at("/snippet").asText()
+ .startsWith("<span class=\"context-left\"></span>"
+ + "<span class=\"match\">"
+ ));
}
@Test
@@ -91,4 +89,4 @@
public void initMethod () throws KustvaktException {
helper().runBootInterfaces();
}
-}
\ No newline at end of file
+}
diff --git a/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoServiceTest.java b/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoServiceTest.java
index 8ff5794..a8f3a9a 100644
--- a/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoServiceTest.java
+++ b/src/test/java/de/ids_mannheim/korap/web/service/full/MatchInfoServiceTest.java
@@ -49,10 +49,8 @@
node.at("/author").asText());
assertTrue(node.at("/snippet").asText()
.startsWith("<span class=\"context-left\"></span>"
- + "<span class=\"match\"><span title=\"corenlp/p:ADV\">"
- + "<span title=\"opennlp/p:ADV\">"
- + "<span title=\"tt/l:fern\">"
- ));
+ + "<span class=\"match\">"
+ ));
}
@Test
@@ -101,4 +99,4 @@
public void initMethod () throws KustvaktException {
helper().runBootInterfaces();
}
-}
\ No newline at end of file
+}
diff --git a/src/test/resources/sample-index/_0.cfe b/src/test/resources/sample-index/_0.cfe
index 8abc486..58273ca 100644
--- a/src/test/resources/sample-index/_0.cfe
+++ b/src/test/resources/sample-index/_0.cfe
Binary files differ
diff --git a/src/test/resources/sample-index/_0.cfs b/src/test/resources/sample-index/_0.cfs
index 63efeb7..afc777d 100644
--- a/src/test/resources/sample-index/_0.cfs
+++ b/src/test/resources/sample-index/_0.cfs
Binary files differ
diff --git a/src/test/resources/sample-index/_0.si b/src/test/resources/sample-index/_0.si
index fe1bebe..c06026b 100644
--- a/src/test/resources/sample-index/_0.si
+++ b/src/test/resources/sample-index/_0.si
Binary files differ
diff --git a/src/test/resources/sample-index/_1.cfe b/src/test/resources/sample-index/_1.cfe
index a515fac..4a1de26 100644
--- a/src/test/resources/sample-index/_1.cfe
+++ b/src/test/resources/sample-index/_1.cfe
Binary files differ
diff --git a/src/test/resources/sample-index/_1.cfs b/src/test/resources/sample-index/_1.cfs
index be27ceb..d782bc2 100644
--- a/src/test/resources/sample-index/_1.cfs
+++ b/src/test/resources/sample-index/_1.cfs
Binary files differ
diff --git a/src/test/resources/sample-index/_1.si b/src/test/resources/sample-index/_1.si
index 5764d53..b3ceb25 100644
--- a/src/test/resources/sample-index/_1.si
+++ b/src/test/resources/sample-index/_1.si
Binary files differ
diff --git a/src/test/resources/sample-index/_2.cfe b/src/test/resources/sample-index/_2.cfe
new file mode 100644
index 0000000..9727b2d
--- /dev/null
+++ b/src/test/resources/sample-index/_2.cfe
Binary files differ
diff --git a/src/test/resources/sample-index/_2.cfs b/src/test/resources/sample-index/_2.cfs
new file mode 100644
index 0000000..4efac7e
--- /dev/null
+++ b/src/test/resources/sample-index/_2.cfs
Binary files differ
diff --git a/src/test/resources/sample-index/_2.si b/src/test/resources/sample-index/_2.si
new file mode 100644
index 0000000..f9de6cf
--- /dev/null
+++ b/src/test/resources/sample-index/_2.si
Binary files differ
diff --git a/src/test/resources/sample-index/_3.cfe b/src/test/resources/sample-index/_3.cfe
new file mode 100644
index 0000000..0627196
--- /dev/null
+++ b/src/test/resources/sample-index/_3.cfe
Binary files differ
diff --git a/src/test/resources/sample-index/_3.cfs b/src/test/resources/sample-index/_3.cfs
new file mode 100644
index 0000000..553221a
--- /dev/null
+++ b/src/test/resources/sample-index/_3.cfs
Binary files differ
diff --git a/src/test/resources/sample-index/_3.si b/src/test/resources/sample-index/_3.si
new file mode 100644
index 0000000..5bfd786
--- /dev/null
+++ b/src/test/resources/sample-index/_3.si
Binary files differ
diff --git a/src/test/resources/sample-index/segments_1 b/src/test/resources/sample-index/segments_1
index b1944d5..6549b6b 100644
--- a/src/test/resources/sample-index/segments_1
+++ b/src/test/resources/sample-index/segments_1
Binary files differ