getMaxDimensions
Returns the maximum number of vector dimensions supported by this codec for the given field name
Codecs implement this method to specify the maximum number of dimensions they support.
Return
the maximum number of vector dimensions.
Parameters
fieldName
the field name