DATAES-66 - Add Ip support to FieldType

This is as trivial as adding a value to the FieldType enum. It doesn't have any
extra properties following the IP type so the
MappingBuilder.addSingleFieldMapping will do the job.
This commit is contained in:
Aggelos Karalias 2014-03-10 20:33:24 +02:00 committed by Mohsin Husen
parent 1eafa61cc9
commit cbe549694e

View File

@ -21,5 +21,5 @@ package org.springframework.data.elasticsearch.annotations;
* @author Artur Konczak
*/
public enum FieldType {
String, Integer, Long, Date, Float, Double, Boolean, Object, Auto, Nested
String, Integer, Long, Date, Float, Double, Boolean, Object, Auto, Nested, Ip
}