Measures of Distances to Perform Approximate Retrieval