search pattern with full result set generation added