Text this: Metric indexing for content-based medical image retrieval