Skip to content

Commit cbe5496

Browse files
mehielmohsinh
authored andcommitted
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.
1 parent 1eafa61 commit cbe5496

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/springframework/data/elasticsearch/annotations

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/elasticsearch/annotations/FieldType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
* @author Artur Konczak
2222
*/
2323
public enum FieldType {
24-
String, Integer, Long, Date, Float, Double, Boolean, Object, Auto, Nested
24+
String, Integer, Long, Date, Float, Double, Boolean, Object, Auto, Nested, Ip
2525
}

0 commit comments

Comments
 (0)