Skip to content

Commit

Permalink
Merge pull request #64 from nguyentienlong/support-es-v700
Browse files Browse the repository at this point in the history
Fix failed test case for ES version 7.0.0
  • Loading branch information
duydo authored Aug 26, 2019
2 parents eabdbfe + fcb1c06 commit 0c59307
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ public void testVietnameseAnalyzerInMapping() throws ExecutionException, Interru
refresh();
SearchResponse response = client().prepareSearch("test").setQuery(
QueryBuilders.matchQuery("foo", "công nghệ thông tin")).execute().actionGet();
assertThat(response.getHits().getTotalHits(), is(1L));
assertThat(response.getHits().getTotalHits().toString(), is("1 hits"));
}
}

0 comments on commit 0c59307

Please sign in to comment.