Nearest neighbor queries in metric spaces | Synapse