protected override string GetElasticFieldType(Type fieldType) { if (mappingType != null) { return(mappingType); } return(ElasticCoreTypeMapper.GetElasticType(fieldType)); }
protected override string GetElasticFieldType(Type fieldType) { if (!customNumberType.IsNullOrEmpty()) { return(customNumberType); } string mappingType = ElasticCoreTypeMapper.GetElasticNumericType(fieldType); return(mappingType ?? "double"); }