Changed pool.map to pool.starmap to pass search_id