implement and test index delete by hash values