I FLY INDIGO
your question was would you retract flaps when speed is increasing in wind shear. I told you Airbus procedure. I further give you a quote from their safety magazine. Changing configuration is a non standard not recommended dangerous procedure.
Recovery technique for wind shear encounter
The aircraft can only survive severe wind shear encounters if it has enough energy to carry it through the loss-of-performance period. It can sustain this energy level in the following three ways:
• Carry extra speed. The aircraft does this automatically when in approach in managed speed (Ground speed mini).
• Add maximum thrust. The aircraft does this automatically with alpha floor protection, even if TOGA was already selected (do not forget to disconnect the Auto thrust in this case, when out of alpha floor).
• If possible, trade height energy for speed. Any aircraft can do this.