I use Spring boot 2.0.1.RELEASE/ Spring Data Elasticsearch 3.0.6. I annotate my domain class with @Document annotation and i have a field as below:
@Field(store = true, type = FieldType.?)
private String ipRange;
as you see, I need to set the field type to IP_Range (exists in elastic search engine data types) but not exists in FieldType enum.
I want to create this document index by ElasticsearchTemplate.createIndex(doc) method. but none of any FieldType enum support ip_range data type.