Clustering with a Domain-Specific Distance Measure