generic_similarity_search
