diff --git a/server/src/test/java/org/elasticsearch/search/fetch/subphase/highlight/HighlighterSearchIT.java b/server/src/test/java/org/elasticsearch/search/fetch/subphase/highlight/HighlighterSearchIT.java index dc045044e6f..3d8b0813179 100644 --- a/server/src/test/java/org/elasticsearch/search/fetch/subphase/highlight/HighlighterSearchIT.java +++ b/server/src/test/java/org/elasticsearch/search/fetch/subphase/highlight/HighlighterSearchIT.java @@ -133,10 +133,10 @@ public class HighlighterSearchIT extends ESIntegTestCase { mappings.endObject(); assertAcked(prepareCreate("test") .addMapping("type", mappings)); - client().prepareIndex("test").setId("1") + client().prepareIndex("test", "_doc").setId("1") .setSource(jsonBuilder().startObject().array("tags", "foo bar", "foo bar", "foo bar", "foo baz").endObject()) .get(); - client().prepareIndex("test").setId("2") + client().prepareIndex("test", "_doc").setId("2") .setSource(jsonBuilder().startObject().array("tags", "foo baz", "foo baz", "foo baz", "foo bar").endObject()) .get(); refresh();