package org.frekele.elasticsearch.enums;

public enum FieldType {

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

}

@@ -60,16 +60,34 @@
 Type %7B%0A%0A
+    //simple type%0A
     TEXT
@@ -152,12 +152,131 @@
 ,%0A    IP
+,%0A%0A    //hierarchical type%0A    OBJECT,%0A    NESTED,%0A%0A    //specialised type%0A    GEO_POINT,%0A    GEO_SHAPE,%0A    COMPLETION
 %0A%0A%7D%0A

add more properties into FieldType