Alter SimilarityIndex interface so that search returns new SearchResult class which includes distance as well as result.