Test: Fix malformed mapping setting, slipped in from merging a commit from 1.x

This commit is contained in:
Martijn van Groningen 2014-11-19 23:51:21 +01:00
parent 7cc2bc8a14
commit 52b77dad8d
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ public class PercolatorTests extends ElasticsearchIntegrationTest {
@Test @Test
public void percolateWithSizeField() throws Exception { public void percolateWithSizeField() throws Exception {
String mapping = XContentFactory.jsonBuilder().startObject().startObject("type1") 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() .startObject("properties").startObject("field1").field("type", "string").endObject().endObject()
.endObject().endObject().string(); .endObject().endObject().string();