Search generation.