On Contrastive Learning of Semantic Similarity forCode to Code Search