package org.frekele.elasticsearch.enums;

public enum FieldType {

    TEXT,
    KEYWORD,
    DATE,
    LONG,
    DOUBLE,
    BOOLEAN,
    IP

}

package org.frekele.elasticsearch.enums;

public enum FieldType {

    //simple type
    TEXT,
    KEYWORD,
    DATE,
    LONG,
    DOUBLE,
    BOOLEAN,
    IP,

    //hierarchical type
    OBJECT,
    NESTED,

    //specialised type
    GEO_POINT,
    GEO_SHAPE,
    COMPLETION

}

add more properties into FieldType