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. |