public static FieldType fromNativeType(final String fieldName, final String nativeType)
            throws UnsupportedTypeException {
        final FieldType fieldType = NATIVE_TYPE_MAP.get(nativeType);

        if (fieldType == null) {
            throw new UnsupportedTypeException("Field '" + fieldName + "' has an unsupported mapping type '" +
                    nativeType + "'");
        }
        return fieldType;
    }
Given a native Elasticsearch data type, return an equivalent Stroom field type
stroom-core-shared/src/main/java/stroom/search/elastic/shared/ElasticNativeTypes.java