From 52b77dad8da7aeac3d5afc1afbec4e031546be65 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Wed, 19 Nov 2014 23:51:21 +0100 Subject: [PATCH] Test: Fix malformed mapping setting, slipped in from merging a commit from 1.x --- src/test/java/org/elasticsearch/percolator/PercolatorTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();