RESUMEN
Microorganisms can improve plant resistance to drought through various mechanisms, such as the production of plant hormones, osmolytes, antioxidants, and exopolysaccharides. It is, however, unclear how previous exposure to water stress affects the functional capacity of the soil microbial community to help plants resist drought. We compared two soils that had either a continuous or intermittent water stress history (WSH) for almost 40 years. We grew wheat in these soils and subjected it to water stress, after which we collected the rhizosphere soil and shotgun sequenced its metagenome. Wheat growing in soil with an intermittent WSH maintained a higher biomass when subjected to water stress. Genes related to indole-acetic acid and osmolyte production were more abundant in the metagenome of the soil with an intermittent WSH as compared to the soil with a continuous WSH. We suggest that an intermittent WSH selects traits beneficial for life under water stress.