diff --git a/src/test/java/org/elasticsearch/percolator/PercolatorTests.java b/src/test/java/org/elasticsearch/percolator/PercolatorTests.java index fbd669af830..eb73f1072ae 100644 --- a/src/test/java/org/elasticsearch/percolator/PercolatorTests.java +++ b/src/test/java/org/elasticsearch/percolator/PercolatorTests.java @@ -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();