Officer recovering after shooting