Searching in code-generation