Content-Based Information Retrieval Via Nearest Neighbor Search