add missing change after backport of #49566

This commit is contained in:
jimczi 2019-12-04 11:25:47 +01:00
parent 691421f287
commit 1d522c6605
1 changed files with 2 additions and 2 deletions

View File

@ -133,10 +133,10 @@ public class HighlighterSearchIT extends ESIntegTestCase {
mappings.endObject(); mappings.endObject();
assertAcked(prepareCreate("test") assertAcked(prepareCreate("test")
.addMapping("type", mappings)); .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()) .setSource(jsonBuilder().startObject().array("tags", "foo bar", "foo bar", "foo bar", "foo baz").endObject())
.get(); .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()) .setSource(jsonBuilder().startObject().array("tags", "foo baz", "foo baz", "foo baz", "foo bar").endObject())
.get(); .get();
refresh(); refresh();