public synchronized void setIndexFieldName(String dimName, String indexFieldName) {DimConfig ft = fieldTypes.get(dimName);if (ft == null) {ft = new DimConfig();fieldTypes.put(dimName, ft);}ft.indexFieldName = indexFieldName;}
public virtual void SetIndexFieldName(string dimName, string indexFieldName){lock (this){if (!fieldTypes.TryGetValue(dimName, out DimConfig fieldType)){fieldTypes[dimName] = new DimConfig { IndexFieldName = indexFieldName };}else{fieldType.IndexFieldName = indexFieldName;}}}