Elastic Elasticsearch Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format also adds format-specific attributes (Format Attributes).

Features read from Elasticsearch consist of geometry and a series of attribute values. The feature type of each Elasticsearch feature is as defined in the Reader Feature Type parameters.

Features written to Elasticsearch have the destination database as their feature type, and attributes as defined in the Elasticsearch Writer: Feature Type Parameters.

Elasticsearch attribute names and values support full UTF-8.

Elasticsearch attribute types are listed in Elasticsearch Writer: User Attributes.

Attribute Type Mapping

Elasticsearch Attribute Type

FME Attribute Type

string fme_buffer
string fme_varchar(width)
string fme_char(width)
string fme_xml
string fme_json
binary fme_binarybuffer
binary fme_binary(width)
binary fme_varbinary(width)
date fme_datetime
date fme_date
date fme_time
double fme_real64
float fme_real32
double fme_decimal(width, precision)
long fme_int64
string fme_uint64
integer fme_int32
long fme_uint32
short fme_int16
integer fme_uint16
byte fme_int8
short fme_uint8
boolean fme_boolean

Geometry

elasticsearch_type

Description

elasticsearch_none FME Feature with no geometry
elasticsearch_point Point feature
elasticsearch_linestring Linear feature
elasticsearch_polygon Simple polygon or donut feature
elasticsearch_geometry_collection Feature with multiple geometries
elasticsearch_multipoint Feature with multiple heterogeneous point geometries
elasticsearch_multilinestring Feature with multiple line geometries
elasticsearch_multipolygon Feature with multiple polygon geometries
elasticsearch_geometry All geometries allowed