SpatialFieldBridge implementations should reuse target field name

Description

Each instance of SpatialFieldBridge is bound to a specific couple of field names, generated from the original field name invoking SpatialHelper.formatFieldName, SpatialHelper.formatLatitude and/or SpatialHelper.formatLongitude.

The parent class should define the field names as final, and the helpers should be invoked only once at constructor time rather than re-allocating the field name for each Document write.

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major