Fix mapping definitions.
Original commit: elastic/x-pack-elasticsearch@609f12602e
This commit is contained in:
parent
4586ca2e06
commit
11125797bc
|
@ -427,7 +427,7 @@ public class FieldLevelSecurityTests extends ShieldIntegTestCase {
|
|||
|
||||
public void testFields() throws Exception {
|
||||
assertAcked(client().admin().indices().prepareCreate("test")
|
||||
.addMapping("type1", "field1", "type=string,store=yes", "field2", "type=string,store=yes")
|
||||
.addMapping("type1", "field1", "type=string,store=true", "field2", "type=string,store=true")
|
||||
);
|
||||
client().prepareIndex("test", "type1", "1").setSource("field1", "value1", "field2", "value2")
|
||||
.setRefresh(true)
|
||||
|
|
Loading…
Reference in New Issue