Skip to content

Commit

Permalink
add missing change after backport of #49566
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Dec 4, 2019
1 parent 691421f commit 1d522c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ public void testHighlightingWithKeywordIgnoreBoundaryScanner() throws IOExceptio
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();
Expand Down

0 comments on commit 1d522c6

Please sign in to comment.