worked on metric key indexing and metric key search