In many applications, my data has both quantitative and qualitative features; for instance, numeric features that come from a text embedding and some categorical variables that come from other sources. When I want to perform nearest neighbours (or its approximation) I need a distance that allows me to compare mixed data that has both numerical and categorical data. I know one of this distances is Gowert distance. Is Gowert distance appropriate for this problem? Also, what other distances can be used?