Test: Fix malformed mapping setting, slipped in from merging a commit from 1.x
This commit is contained in:
parent
7cc2bc8a14
commit
52b77dad8d
|
@ -559,7 +559,7 @@ public class PercolatorTests extends ElasticsearchIntegrationTest {
|
|||
@Test
|
||||
public void percolateWithSizeField() throws Exception {
|
||||
String mapping = XContentFactory.jsonBuilder().startObject().startObject("type1")
|
||||
.startObject("_size").field("enabled", true).field("stored", "yes").endObject()
|
||||
.startObject("_size").field("enabled", true).field("store", "yes").endObject()
|
||||
.startObject("properties").startObject("field1").field("type", "string").endObject().endObject()
|
||||
.endObject().endObject().string();
|
||||
|
||||
|
|
Loading…
Reference in New Issue