diff --git a/zulia-server/src/test/java/io/zulia/server/test/node/SimpleTest.java b/zulia-server/src/test/java/io/zulia/server/test/node/SimpleTest.java index 57917076..fe5fc00b 100644 --- a/zulia-server/src/test/java/io/zulia/server/test/node/SimpleTest.java +++ b/zulia-server/src/test/java/io/zulia/server/test/node/SimpleTest.java @@ -189,7 +189,7 @@ public void searchTest() throws Exception { search = new Search(SIMPLE_TEST_INDEX); search.addQuery(new ScoredQuery("\"something really special\" AND rating:[4.0 TO *]").addQueryFields("title","description")); searchResult = zuliaWorkPool.search(search); - Assertions.assertEquals(3*repeatCount, searchResult.getTotalHits()); + Assertions.assertEquals(repeatCount, searchResult.getTotalHits()); search = new Search(SIMPLE_TEST_INDEX); search.addQuery(new ScoredQuery("description:\"something really special\"").addQueryFields("title","description")); @@ -200,7 +200,7 @@ public void searchTest() throws Exception { search = new Search(SIMPLE_TEST_INDEX); search.addQuery(new ScoredQuery("boring AND (reddish OR red)").addQueryFields("title","description")); searchResult = zuliaWorkPool.search(search); - Assertions.assertEquals(1, searchResult.getTotalHits()); + Assertions.assertEquals(repeatCount, searchResult.getTotalHits()); search = new Search(SIMPLE_TEST_INDEX); search.addQuery(new ScoredQuery("\"something really special\"~1").addQueryFields("title","description"));