test: fix type in test name

This commit is contained in:
Martijn van Groningen 2016-07-29 14:52:11 +02:00
parent f92b3c965e
commit 81112508ea
1 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ public class ChildQuerySearchIT extends ESIntegTestCase {
builders.add(client().prepareIndex("test", "child", childId).setSource("c_field", childId).setParent(previousParentId));
if (!parentToChildren.containsKey(previousParentId)) {
parentToChildren.put(previousParentId, new HashSet<String>());
parentToChildren.put(previousParentId, new HashSet<>());
}
assertThat(parentToChildren.get(previousParentId).add(childId), is(true));
}
@ -1896,7 +1896,7 @@ public class ChildQuerySearchIT extends ESIntegTestCase {
assertSearchHits(searchResponse, "parent-id");
}
public void testHighlighersIgnoreParentChild() {
public void testHighlightersIgnoreParentChild() {
assertAcked(prepareCreate("test")
.addMapping("parent-type", "searchText", "type=text,term_vector=with_positions_offsets,index_options=offsets")
.addMapping("child-type", "_parent", "type=parent-type", "searchText",