fix dumb test copy/paste mistake
This commit is contained in:
parent
79a1c38ed6
commit
2fd387d378
|
@ -65,7 +65,7 @@ public class FieldNamesFieldMapperTests extends ElasticsearchSingleNodeTest {
|
||||||
|
|
||||||
public void testFieldType() throws Exception {
|
public void testFieldType() throws Exception {
|
||||||
String mapping = XContentFactory.jsonBuilder().startObject().startObject("type")
|
String mapping = XContentFactory.jsonBuilder().startObject().startObject("type")
|
||||||
.startObject("_field_names").field("store", "yes").endObject()
|
.startObject("_field_names").endObject()
|
||||||
.endObject().endObject().string();
|
.endObject().endObject().string();
|
||||||
|
|
||||||
DocumentMapper docMapper = createIndex("test").mapperService().documentMapperParser().parse(mapping);
|
DocumentMapper docMapper = createIndex("test").mapperService().documentMapperParser().parse(mapping);
|
||||||
|
|
Loading…
Reference in New Issue