mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-29 15:22:11 +00:00
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:
parent
1eafa61cc9
commit
cbe549694e
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user