Similarity Indexing for Data Mining Applications