Fix test compilation issue

This commit is contained in:
Christoph Büscher 2020-06-18 11:36:11 +02:00
parent 31d8e03954
commit ba0b046909
1 changed files with 2 additions and 2 deletions

View File

@ -432,10 +432,10 @@ public class SimpleSearchIT extends ESIntegTestCase {
}
public void testTermQueryBigInt() throws Exception {
prepareCreate("idx").setMapping("field", "type=keyword").get();
prepareCreate("idx").addMapping("type", "field", "type=keyword").get();
ensureGreen("idx");
client().prepareIndex("idx")
client().prepareIndex("idx", "type")
.setId("1")
.setSource("{\"field\" : 80315953321748200608 }", XContentType.JSON)
.setRefreshPolicy(RefreshPolicy.IMMEDIATE)