From d5e70a27df599c14b41a02226836a1348c4a3f9a Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Sun, 20 Jan 2013 21:29:47 +0100 Subject: [PATCH] integer type to support int field data type --- .../org/elasticsearch/index/mapper/core/IntegerFieldMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/index/mapper/core/IntegerFieldMapper.java b/src/main/java/org/elasticsearch/index/mapper/core/IntegerFieldMapper.java index 39bf7acd986..9bbe52b1ee0 100644 --- a/src/main/java/org/elasticsearch/index/mapper/core/IntegerFieldMapper.java +++ b/src/main/java/org/elasticsearch/index/mapper/core/IntegerFieldMapper.java @@ -133,7 +133,7 @@ public class IntegerFieldMapper extends NumberFieldMapper { @Override public org.elasticsearch.index.fielddata.FieldDataType fieldDataType2() { - throw new ElasticSearchIllegalArgumentException("not implemented"); + return new org.elasticsearch.index.fielddata.FieldDataType("int"); } @Override