Introduction

Plants live with numerous microorganisms, which play essential roles in their hosts’ health and productivity and coevolve with hosts (Ling et al. 2022; Martin et al. 2017; Trivedi et al. 2020). Generally, endophytes are considered to be a complement to the host plant’s gene library, helping the hosts adapt to the environment (Vandenkoornhuyse et al. 2015), such as enhancing stress tolerance (e.g., drought and salinity), improving disease resistance (Clarke et al. 2006), aiding mineral uptake (Malinowski et al. 2000) and promoting growth (Schardl et al. 2004). The plant–microbe interaction is diverse. Plant-related microorganisms affect the host's growth and developmental processes but are also regulated by the host metabolite, immune system, and responses to stress (Bai et al. 2022). Studies reported that sesquiterpenes had induced hyphal branching in arbuscular mycorrhizal fungi (Akiyama et al. 2005). Flavonoids are also essential secondary metabolites in improving plant–microbe interactions (Deng et al. 2021; Fu et al. 2022). Dynamic interactions among the environment, microorganisms, and hosts shaped plant-related microbiome assembly and host health, but understanding ecological processes was still shallow (Sessitsch et al. 2019; Fitzpatrick et al. 2020). In addition, researchers discovered that Ginkgo biloba and endophytes were likely to share and compensate for some metabolic processes (Zou et al. 2021). Uncovering the mechanisms of plant microbiome assembly, functions, and networks is vital for applying microbial inoculants in agriculture (Singh et al. 2020; Haskett et al. 2021).

Roots are key organs for plants to obtain nutrients and microorganisms (Chapman et al. 2012; Hirsch and Mauchline 2012). Diverse microbes surround plant roots in the rhizosphere (Edwards et al. 2015; O’Brien and Harrison 2021). However, only some microorganisms are specifically acquired by plants in the root endosphere (Berg and Smalla 2009). The root-associated microbiome, including microorganisms in bulk soil, rhizosphere soil and root endosphere, exerts essential biological and ecological functions in plant health (Mendes et al. 2013; Qu et al. 2020). The rhizosphere is the dominant compartment for plant–microbe interactions that plant root exudates can significantly influence (Bakker et al. 2013; Sun et al. 2021). Low-molecular-weight organic compounds in root exudates, such as organic acids and sugars, shape the structure and function of the root-associated microbial communities (Shi et al. 2011). Benzoxazinoids, the defensive root exudates, were shown to alter root-associated microorganism communities (Saunders and Kohn 2009; Hu et al. 2018). Moreover, root exudates may help the plant enrich specific growth-promoting rhizobacteria (Vacheron et al. 2013; Vives-Peris et al. 2020). Root exudates, including phenolic acids, influence the colonization of plant growth-promoting rhizobacteria in maize and groundnut roots (Ankati and Podile 2019). Furthermore, researchers found that root-associated microbiome assemblage was affected by plant development and planting years (Chaparro et al. 2014). Microbiomes with plants, including bean, maize, rice, cowpea, cabbage, grape, cotton, arabidopsis and tobacco, exhibit age-related variation (Develey-Rivière and Galiana 2007). However, the assembly mechanism of root-associated communities was still unclear. In particular, studies on the dynamic variation in microbial assembly processes across planting years are still lacking.

As an important medicinal plant, P. polyphylla is widely used in the pharmaceutical industry and receiving increasing attention. Researchers isolated endophytes producing multiple antibacterial metabolites from P. polyphylla (Zhao et al. 2010). Some plant growth-promoting bacteria, such as Bacillus megaterium, were also isolated from P. polyphylla (Tao et al. 2021). Previous studies showed that the community composition of both endophytic bacteria and fungi was affected by planting years and related to saponins (Yang et al. 2015). Researchers claimed that there were significant differences in the bacterial community among P. polyphylla organs (Liu et al. 2020), and the bacterial community could be affected by the altitude (Wang et al. 2020). However, the process of P. polyphylla microbial community assembly and the dynamic variation of the community have not been well studied.

In Midu, P. polyphylla was planted in a greenhouse for four years. The bacterial community was examined across 54 samples from soils (rhizosphere and bulk soil) and P. polyphylla root endosphere. This study aimed to clarify how planting years shape microbiome assemblies among compartments and determine the potential sources and keystone taxa of P. polyphylla to guide the sustainable development of P. polyphylla. We hypothesized that the planting years would affect the bacterial community assembly of P. polyphylla from the soils to the root endosphere, and plant growth-promoting bacteria are enriched during planting.

Materials and methods

Sample collection and property

Our study was performed at a greenhouse at Midu (100°29′ E, 25°20‘N), Dali, Yunnan Province in China. Since 2016, the greenhouse has grown P. polyphylla in this area commercially. The weather at Midu was wet and warm, with an annual average temperature of 17.3 °C, annual average precipitation of 824 mm, and annual sunshine hours of 2339.5 h. P. polyphylla was planted in the greenhouse from 2016 to 2020. We maintained the same water and fertilizer management yearly during planting (regular and quantitative watering and no top dressing). Six 3 m × 3 m quadrats and ten P. polyphylla of similar size in each quadrat were randomly selected by five-point sampling. The bulk soils (BS), rhizosphere soils (RS), and root endosphere (RE) of P. polyphylla were collected from quadrats planted for four years, on September 2018, September 2019, and September 2020, respectively. Samples on September 2018, September 2019, and September 2020 were numbered 2, 3 and 4, such as BS2, BS3 and BS4. Bulk soil (BS) samples were collected 5 cm far from the P. polyphylla's root at a depth of 5 ~ 15 cm. The plants were removed from the soil and mildly shooked to remove soil loosely adhering to the roots. After shaking off the loose soil, the roots with still aggregated soil were shaken in 25 mL 0.1 M sterile phosphate buffer (7.1 g Na2HPO4, 4.4 g NaH2PO4·H2O added to 820 mL deionized water, pH 7.0) for 30 min; the roots were then taken out and the suspension centrifuged at 9000 g for 10 min to collect the precipitation, as rhizosphere soil (RS) (Saunders and Kohn 2009). Clean roots were surface disinfected promptly for microbiological analysis. Roots were sterilized in 4% NaClO for 5 min and washed with sterile water (Sorty et al. 2016). After surface sterilizing, the roots were dried in sterile air on a sterile workbench. All soil samples were transported on dry ice, and roots were triturated in liquid nitrogen. All samples were stored at − 80 °C until DNA and polyphyllin extraction.

Measurement of soil physical and chemical properties and polyphyllin

We dried bulk soils to constant weight. Because of the lack of rhizosphere soil, only the physicochemical properties of bulk soil were determined. The pH meter measured soil pH using a mixture of air-dried bulk soil and water (1:2.5, w/v). The total organic carbon concentrations (TOC) were measured by dichromate oxidation. The concentrations of total nitrogen (TN) were analyzed by Kjeldahl determination. The total phosphorus (TP) and available phosphorus (AP) were released by NaOH fusion and 0.5 mol/L NaHCO3, respectively, followed by colorimetric analysis. The total potassium (TK) and available potassium (AK) were measured by flame photometry following NaOH fusion extraction and 1 M ammonium acetate. For water-soluble nitrogen (WSN), 3 g soil was mixed with water (30 mL), shaken for 30 min at 100 g, and centrifuged at 6000 g for 20 min. The collected supernatant was filtered with 0.45 µm pore-size syringe filters, and the fractions of organic N are referred to as water-soluble nitrogen. The soil was baked in an oven at 70 °C to a constant weight, and the moisture content (MC) was measured.

Frozen roots were dried in an oven at 60 ℃ until the weight was constant. Afterward, these roots were ground into powder smaller than 40 mesh and extracted in a Soxhlet extractor based on Chinese pharmacopeia (2015). An aliquot of 0.500 g dried powder was homogenized in 25 mL ethanol, followed by 30 min of reflux at 80 ℃. Then, the homogenate was filtrated to remove residue and ethanol was added to 25 mL for HPLC.

HPLC was implemented on a Shimadzu LC-20AD Series HPLC system with an SPD-20A UV–Vis detector, and a connected ACQUITY UPLCTM BEH C18 column (217 mm × 2.1 mm, 1.7 μm) was used for detection at 25 ℃. The mobile phase consisted of acetonitrile (a) and H2O (b). A flow rate of 1.0 mL/min was used. Standard curves were established by a series concentration of the corresponding standard at 203 nm.

DNA extraction, sequencing and sequence analysis

The root fragments were homogenized in a sterilized mortar and pestle with liquid nitrogen. The total genomic DNA of root samples was extracted from the homogenized root material using the OMEGA Plant DNA Kit. The OMEGA Soil DNA Kits were used to extract the total genomic DNA of soil samples. To minimize the interference of hosts' DNA, primer pair fM1 (5′-CCGCGTGNRBGAHGAAGGYYYT-3′) and rC5 (5′-TAATCCTGTTTGCTCCCCAC-3′) were used to amplify the genome of microorganisms (Yu et al. 2013; Sabu et al. 2018). DNA Clean-Up Kit purified the amplicons. High-throughput sequencing of the PCR products was conducted on the Illumina Miseq platform (Miseq PE250).

The raw data were processed by QIIME 2 (version 2020.6) (Bolyen et al. 2019). These steps included: quality filtering, Ribosomal Database Project (RDP) clustering, sequence alignments and community dissimilarities analysis (Wu et al. 2018). Taxonomic assignment of 16S representative sequences was executed with the RDP classifier according to the Greengene database (DeSantis et al. 2006). Resampled 16S reads (10,000 sequences per sample) were to calculate alpha diversity and beta diversity. The raw data have been submitted to the NCBI SRA database. The accession number of all samples is PRJNA 824132.

Statistical analysis

Alpha-diversity indexes, including Shannon index, Simpson index, Simpson_evenness and Pielou_evenness, were calculated on the website (http://mem.rcees.ac.cn:8080/). Dissimilarity tests of operational taxonomic units (OTUs) and predicted function genes (by PICRUSt) had been calculated, and analysis of similarities (ANOSIM) and permutational multivariate analysis of variance (PERMANOVA) were calculated according to the website (http://mem.rcees.ac.cn:8080/). The biomarkers of samples were identified by the linear discriminant analysis (LDA) effect size (LEfSe) (P < 0.05, logarithmic LDA score > 4) (Segata et al. 2011). PICRUSt (Phylogenetic Investigation of Communities by Reconstruction of Unobserved States) was used as a bioinformatics tool to predict the abundance of functional genes in microflora (Langille et al. 2013). By comparison with the sequence data of the 16S Greengene database (Greengenes 13.5), the community functional genes were predicted with reference to the KEGG (Kyoto Encyclopedia of Genes and Genomes) database (DeSantis et al. 2006; Kanehisa and Goto 2000).

The null model test's beta Nearest Taxon Index (βNTI) was calculated to assess the determinism and stochasticity in microbiome assembly. Defined |βNTI|≥ 2 as dominant deterministic processes and |βNTI|< 2 as dominant stochastic processes. Deterministic and stochastic processes were partitioned into five ecological processes based on both βNTI and Bray–Curtis-based Raup-Crick Index (RCBray) values, including heterogeneous selection (βNTI <  − 2), homogeneous selection (βNTI >  + 2), dispersal limitation (|βNTI|< + 2 and RCBray > 0.95), homogenizing dispersal (|βNTI|< + 2 and RCBray <  − 0.95), and undominated (|βNTI|< 2 and |RCBray|< 0.95) [66, 67] (Stegen et al. 2013; Xiong et al. 2021). OTUs with an average abundance of more than 0.03% were chosen to construct correlation networks by calculating Spearman rank correlations with Spearman correlation coefficient (r > 0.6, P < 0.01). Gephi was used to visualize the correlation networks (Team 2008).

Results

Soil property in bulk soil and polyphyllin in roots

Soil property results are listed in Table 1. During the P. polyphylla planting, the pH of the bulk soil decreased from 6.01 to 4.68, suggesting that the planting soil in this area was acidic. TK and AK in the soil decreased significantly across the three years, by almost 50% and 60%, respectively. In contrast, the TOC increased a half from 79.63 g/kg over time. The bulk soils’ AP, TP, and TN increased in 2018–2019 and stayed stable in the last two years. There were irregular changes in the water-soluble nitrogen (WSN) and moisture content (MC) of the bulk soil.

Table 1 Properties of bulk soils

Polyphyllin in roots is presented in Table 2. Polyphyllin VII and polyphyllin VI decreased from 2018 to 2020, while polyphyllin I increased by 3 times across the three years. Diosgenin decreased by 64% from 49.17 mg/kg to 17.77 mg/kg.

Table 2 Polyphyllin in roots

Microbial composition of P. polyphylla roots and root-related soils

Samples from different compartments of P. polyphylla (including bulk soils, rhizosphere soils, and root endosphere) were collected from the cultivation greenhouse with varying years of planting. After quality filtering, 7,637,512 high-quality sequences were obtained from soil and root bacteria, which were matched to 17,314 operational taxonomic units (OTU) provided in supplementary materials (Supplementary Interactive Plot Data.xlsx) The Good's coverage for the observed_OTUs of bacterial communities was 96.92% ± 1.26%, which showed that the sequencing depth of all samples was adequate to present the microbial community diversity reliably (Fig. S1a). Veen plots showed more total OTUs and unique OTUs in bulk soil. There was less OTU richness in the root endosphere (Fig. S1b and c). All OTUs were classified into 47 phyla and 457 genera, and the relative abundance of 6 phyla and ten genera exceeded 1%.

This further study the bacterial community composition in different samples was investigated by LEfSe. Results showed that there were more Proteobacteria, Acidobacteria and Actinomycetes in bulk soil, but Proteobacteria dominated the root endosphere and rhizosphere (Fig. 1a and b). Acidobacteria and Actinomycetes increased with the distance to the root, while Proteobacteria significantly declined (Figs. 1a and 2a). At the genus level, most reads were not assigned in bulk soil. Almost 30% of reads could not be assigned to the rhizosphere and root endosphere (Fig. 1a and b). Excluding these unassigned sequences, sequences were mainly assigned to 20 genera, including Rhizobium, Shingobium, Burkholderia, Pseudomonas and Novosphingobium. Compared with soils, more microorganisms were assigned to Pseudomonas and Novosphingobium in the root endosphere (Fig. 2a and Fig. S2). Besides, microbes with a higher relative abundance in the soil also increased over time, such as Actinomycetes and Acidobacteriales (Fig. 2b and Fig. S3a). Rhizobium and Shingobium gradually enriched in rhizosphere soil (Fig. 2c and Fig. S3b), and Pseudomonas and Burkholderia also increased in the P. polyphylla root endosphere (Fig. 2d and Fig. S3c). The core microbiota was defined as the genus in all samples, with a relative abundance greater than 1% in 95% of samples. It was found that the core microbiota of different compartments was significantly different (Fig. 1b). Rhodoplanes, Candidatus Solibacter and Kaistobacter were the core microbiota of bulk soil. At the same time, the P. polyphylla root endosphere had a core microbiota consisting of Pseudomonas, Rhizobium, Steroidobacter, Sphingobium and Agrobacterium. Pseudomonas in the root endosphere increased about tenfold during the three years (Fig. S4).

Fig. 1
figure 1

Microbial composition of P. polyphylla roots and root-related soils. a Relative abundance at the phylum level. b Relative abundance at the genus level

Fig. 2
figure 2

Biomarkers in samples. a Biomarkers among compartments. b Biomarkers across years in bulk soils. c Biomarkers across years in P. polyphylla rhizosphere soils. d Biomarkers across years in P. polyphylla root endosphere

Microbial community structure of P. polyphylla roots and root-related soils

The diversities of bacteria, estimated by phylogenetic distance diversity, Chao1 index, and Shannon index, presented significant increase trends with distance to the root (Fig. 3a). The diversity of bacteria was also affected by planting years, but the effects on different compartments were different. The Shannon index indicated that the alpha diversity of bulk soil and root endosphere significantly decreased during the three years, but the opposite trend was observed in rhizosphere soil (Fig. 3b).

Fig. 3
figure 3

Diversity of bacterial communities in P. polyphylla roots and root-related soils. a Alpha diversity among compartments. Different letters above the boxes indicate a significant difference determined by the Turkey test (SD). b Alpha diversity across three years. Different letters above the boxes indicate a significant difference determined by the Turkey test

In addition, beta diversity showed significant differences among samples at different planting years and in separate compartments. NMDS results showed samples from the same compartments clustered together. The P. polyphylla microbiota shifted with compartment in the first axis and separated by planting years in the second axis, indicating that compartment and planting time were the main factors influencing the root microbiota composition (Fig. 4). ANOSIM and PERMANOVA analysis indicated that the P. polyphylla microbiome assembly was mainly explained by compartment (84.5%) followed by planting years (4.1%) (Table S1). PERMANOVA analysis and NMDS ordinations indicated that planting years explained almost all the bacterial variations (98.6%–100%) in all compartments (BS, RS and RE). Compartment differences explained all the variations in each year. Moreover, microbial community dissimilarity among all samples was much higher in the root endosphere than in soil (Fig. 4). The linear mixed model analysis suggested that planting years had a greater influence on bacterial Shannon index in bulk soil than in root endosphere and rhizosphere (Table S2). The compartment effect on the bacterial Shannon index increased over time (Fig. 4).

Fig. 4
figure 4

Non-metric multidimensional scaling (NMDS) based on weighted (a) and based on unweighted Bray–Curtis distance (b)

Network and community assembly of the root-related microbial community in P. polyphylla across the three planting years

Molecular ecology network (MEN) analyses were performed to reveal the bacterial community interactions in different compartments of P. polyphylla across the three years (Fig. 5). MEN from bulk soil were less densely connected than those from the root endosphere and rhizosphere, with fewer edges and lower density despite more nodes (Fig. 5 and Table 3). In the network of bulk soil, the top 50 core nodes with the highest degree were mainly bacteria belonging to Acidobacteria, Actinobacteria and Proteobacteria, such as Rhodoplanes and Conexibacter. While in rhizosphere soil and root endosphere, the top 50 core nodes with the highest degree were almost all Proteobacteria, such as Rhizobia, Burkholderia and Sphingomonadales (Table S3). OTUs of the five genera (Sphingobium, Pseudomonas, Steroidobacter, Agrobacterium, and Sphingomonas) occupy more network nodes in the root endosphere and rhizosphere (Table S3). In addition, with the prolongation of planting years, fewer nodes were involved in the network construction in the bulk soil, and the network had fewer edges and became more sparse (Fig. 5 and Table 3). Bacterial networks from the root endosphere and rhizosphere shared the different trend of becoming denser over time. Density, average degree and edges of the network from the root endosphere and rhizosphere gradually increased with the planting years. And the total participation of the five core genera in the root endophytic microbial molecular ecology network (MEN) increased with planting, as shown by growing node count and degree (Table S3).

Fig. 5
figure 5

Networks of bacterial communities in P. polyphylla roots and root-related soils

Table 3 Details of networks

Null model analysis showed that the relative importance of deterministic (|βNTI|≥ 2) and stochastic (|βNTI|< 2) processes in the P. polyphylla microbiome showed a great difference in different compartments. The relative contribution of deterministic processes in microbial community assembly in bulk soil (≥ 43%) was the highest, followed by root endosphere(≤ 43%) and rhizosphere soil (≤ 23%). Stochasticity dominated the community assembly process of the root endosphere, and the relative contribution increased with planting years (57%-78%). The deterministic selection (71%) initially governed community assembly in bulk soil, but stochasticity progressed as the planting age increased (Fig. 6a, b). Stochasticity contributed most to the rhizosphere soil microbial community assembly among the three compartments and dominated their community assembly process. However, the proportion of stochasticity decreased from 91 to 77% with P. polyphylla planting, which showed a significant difference from the other two compartments. Moreover, heterogeneous selection dominated the deterministic process of bacterial community assembly, while the stochastic process was dominated by dispersal limitation (Fig. 6b). Collectively, deterministic processes exerted a greater influence on the bulk soil bacterial community and planting exerted different effects on bacterial community assembly in the three compartments.

Fig. 6
figure 6

Deterministic and stochastic processes in microbiome assembly. a The relative contribution of determinism and stochasticity on microbiome assembly along the soil–root continuum based on the β-Nearest Taxon Index (βNTI) values. The βNTI were calculated by the Null model test, and |βNTI|≥ 2 and |βNTI|< 2 represent dominant determinism and stochasticity in driving microbiome assembly, respectively. The percentage above and below the violin plot represents the proportion of the deterministic and stochastic processes in microbiome assembly, respectively. b The relative importance of five ecological processes (heterogeneous selection: βNTI <  − 2, homogeneous selection: βNTI >  + 2, dispersal limitation: |βNTI|< 2 and RCBray > 0.95, homogenizing dispersal: |βNTI|< 2 and RCBray < – 0.95, and undominated: |βNTI|< 2 and |RCBray|< 0.95) along the soil–root continuum based on the β-Nearest Taxon Index (βNTI) and Bray–Curtis-based Raup-Crick Index (RCBray)

Effects of planting years and compartments on the functions of P. polyphylla root-associated microbial communities

Using PICRUSt as a predictive exploratory tool of function gene, it was found that six orthology groups at the level I (KOs in KEGG) were observed in P. polyphylla roots and root-related soils. The rhizosphere and root endosphere significantly increased cellular processes and environmental information processing associated genes (Fig. 7a). The two genes (cellular processes and environmental information processing associated genes) increased with the planting years in the three compartments. At level III, genes related to nitrogen metabolism, carbon metabolism, phosphonate and phosphinate metabolism were noted to significantly enrich in root endosphere and rhizosphere soil (Fig. 7b). Communities of P. polyphylla root endosphere had more functional gene-encoding protein involved in methyl-accepting chemotaxis (K03406), while bulk soils had the least. And these genes tended to increase in bulk soil over time significantly (Fig. 7a). Different from the microbial community, functional genes' alpha diversity (Simpson_evenness) increased from bulk soil to rhizosphere to root endosphere and increased with age in bulk soils (Fig. 7c). PICRUSt results indicated that the functional composition (i.e., PCA analysis of KEGG Orthology) of P. polyphylla microbiome in different compartments was significantly different. Planting years also significantly affected P. polyphylla root-associated microbiome functions in the three compartments (Fig. 7d). In PCA of Bray–Curtis distance from all samples, bulk soil samples clustered together and were far from the rhizosphere and root endosphere across P. polyphylla planting years (Fig. 7d). Additionally, in the third axis, the P. polyphylla growing years were shown to affect the shift of the functional genes (Fig. 7d). The planting years and compartments significantly affected the richness and diversity of P. polyphylla root-associated microbial community function.

Fig. 7
figure 7

Functional genes of bacterial communities in P. polyphylla roots and root-related soils. a The abundance of genes related to cellular processes, environmental information processing, and K03406 (an encoding protein involved in methyl-accepting chemotaxis). The statistical significance was measured using the Turkey test's SD (n = 6). b Nitrogen metabolism, carbon metabolism and phosphonate and phosphinate metabolism genes’ abundance. “N, C, P” represent genes related to dinitrogen metabolism, carbon metabolism and phosphonate and phosphinate metabolism, respectively. Mean values ± SD (n = 6). c The alpha diversity (Simpson_evenness) of functional genes. Different letters above the boxes indicate a significant difference determined by the Turkey test. d Non-metric multidimensional scaling (NMDS) based on Bray–Curtis distance

Discussion

P. polyphylla selectively enriches its core microbiome with beneficial microorganisms

Microbial differences in different compartments and microbial succession over time have been studied in previous studies (Fan et al. 2017; Zhang et al. 2018; Xiong et al. 2021); this is attributed to significant environmental differences among compartments (Jiang et al. 2017; Xiong et al. 2021). However, there is still a lack of research on the microorganisms related to P. polyphylla. This study sampled different compartments of P. polyphylla for three consecutive years. It was found that the microbial community among P. polyphylla compartments showed significant differences in composition and diversity. Moreover, bacterial alpha diversity in P. polyphylla rhizosphere was generally lower in bulk soil but higher in root endosphere (Fig. 3a). That is common in other plants and was also reported in P. polyphylla (Wang et al. 2020; Ling et al. 2022). The rhizosphere microbiota was generally considered a community subset in bulk soil, ubiquitous in planting soils (Xiong et al. 2021). The microorganisms in the root endosphere are mainly absorbed from the rhizosphere, except from seeds (Wani et al. 2015; Zhang et al. 2018). Bacterial alpha diversity represented by the Shannon index showed a significant reduction in bulk soil and root endosphere but increased in P. polyphylla rhizosphere over time (Fig. 3b). In bulk soil, it may be affected by the enrichment of pathogenic microorganisms, reported in the study of Panax notoginseng (Tan et al. 2017). While in rhizosphere soil, the bacterial diversity might be regulated by P. polyphylla root exudates. Previous research showed root exudates, including phytohormones and defensive compounds, dominated rhizosphere microbial community assembly in some plants (Nannipieri et al. 2008). Slightly different from P. polyphylla, the diversity of ginseng endophytes was highest in the third year and decreased gradually but increased from the second to the third year (Hong et al. 2019). Reasonable speculation is that plant roots extensively absorb microorganisms in the soil to enrich their functional gene pool early in planting and then gradually selectively retain the beneficial microorganisms. P. polyphylla might take less time than ginseng in the first stage. Therefore, the regulation of root microbial assembly by root exudates and signaling molecules also seems to develop in P. polyphylla roots.

Plants exert selective effects on the soil pool to acquire beneficial microorganisms and assemble their core microbiota (Reinhold-Hurek and Hurek 2011). In this study, the bulk soil enriched more Acidobacterial microorganisms because the planting soil was acidic, and the pH decreased with the years of planting (Table 1) (Nguyen et al. 2016). In P. polyphylla root endosphere and rhizosphere soil, Proteobacteria dominate the microbiome. Proteobacteria are used to live in C-rich environments (common in the rhizosphere and root endosphere) for high physiological activity, a common phenomenon in plants (Kuzyakov and Razavi 2019). The core microbiota of P. polyphylla root consisted of Pseudomonas, Rhizobium, Steroidobacter, Sphingobium and Agrobacterium (Figs. 1, 2). These microorganisms were representative plant growth-promoting rhizobacteria (PGPR) (Basu et al. 2021). Pseudomonas and Sphingobium were the core microbiomes of Brassica napus and Salvia miltiorrhiza (Wu et al. 2016; Chen et al. 2018). Pseudomonas, Sphingobium, Rhizobium and Agrobacterium were proven to be vital phosphate solubilizers (Otieno et al. 2015; Li et al. 2017). In addition, Pseudomonas was also found to solubilize potassium and produce indole acetic acid (IAA) and other plant growth regulators (Arruda et al. 2014). It was revealed that Steroidobacter and Sphingobium were beneficial to plants (Li et al. 2017; Zhu et al. 2021). Pseudomonas in the root endosphere increased with polyphyllin I, which indicated that plant metabolites regulated endophytic bacteria (Table 2 and Fig. S4). OTUs belonging to these genera also played important roles in the community network of P. polyphylla rhizosphere soils and root endosphere (Table S3). It further illustrated the importance of these microorganisms in the growth and development of P. polyphylla. P. polyphylla chose to enrich such microbes in favor of their growth. The previous study reported the same conclusion on P. polyphylla (Zhou et al. 2015). Although these core microbes might play a vital role in the growth of P. polyphylla, their relative abundance reached the lowest level in the bulk soil in the fourth year, below 0.1% (Fig. S4). Therefore, supplementing these microorganisms in the bulk soil might benefit P. polyphylla. These findings remind us that supplementing these core microorganisms in bulk soil could improve soil fertility and P. polyphylla growth after P. polyphylla planting.

The community assembly of P. polyphylla microbes was influenced by compartment and planting years

The community assembly process is an important method for understanding the development dynamics of the community (Singh et al. 2020; Trivedi et al. 2020). Clarifying the ecological processes of plant microbiome assembly is essential to analyze the interaction between P. polyphylla and microbiome and advance the future application of microbiome to P. polyphylla. Our findings demonstrated that compartment and planting years influenced P. polyphylla microbiome assembly (Fig. 6). Niche isolation must be the key factor that causes the difference in community assembly among compartments (Cregger et al. 2018). Microbiomes in bulk soil were more sensitive to the planting years than root endosphere and rhizosphere microbiomes in terms of multiple microbial attributes (i.e., alpha-diversity, beta-diversity and assembly processes), environmental properties may influence this in the bulk soil. The increasing stochastic processes in P. polyphylla root endosphere and bulk soil community assembly might result from decreased alpha diversity and richness over time. The proportion of the homogeneous selection process on the P. polyphylla rhizosphere microbial community increased with the chronosequence advancing, which had also been found in the soybean rhizosphere (Goss-Souza et al. 2020). Root exudates might regulate the unique variation in rhizosphere soil. The relative proportion variation of stochastic processes in rhizosphere soil community assembly was similar to its alpha diversity. Ecological stochasticity was defined as the changes in the community to stochastic processes of birth, death, immigration and emigration, spatiotemporal variation, and historical contingency (e.g., colonization order), which is undoubtedly related to the species richness and alpha diversity of the community (Zhou and Ning 2017). The principal component of stochastic processes in the P. polyphylla root community, dispersal limitation, showed the opposite trend. Previous studies have also revealed that dispersal limitation was an essential factor shaping species richness in agricultural landscapes (Hendrickx et al. 2009). This work shows that species richness and planting years profoundly influence plant microbiome assembly.

Previous studies showed wheat and Avena fatua rhizosphere soil and root endosphere exhibited more complex topology than bulk soil (Fan et al. 2018; Wei et al. 2021). At the same time, the rhizosphere soil community network was revealed over time of Avena fatua growth (Shi et al. 2016) and network analysis was conducted to explore the interaction of microorganisms in different P. polyphylla compartments for three consecutive years. More complex topology was shown in rhizosphere soil and root endosphere than in bulk soil bacterial community, although fewer OTUs were involved in network construction (Fig. 5). High connectance in root endosphere and rhizosphere soil communities could decrease pathogen invasion success (Wei et al. 2015). Therefore, this might be a measure of self-protection by P. polyphylla. In addition, the increase was also observed in the connectivity and complexity of P. polyphylla rhizosphere soil and root endosphere community networks over time, representing significant differences among compartments. Some studies showed that the roots promote the development of dominant taxa, which would concurrently reduce diversity, leading to greater interactions and more complex networks over time (Shi et al. 2016). A consistent conclusion was made in the P. polyphylla root endosphere, different in the rhizosphere. Multiple mechanisms might contribute to the connectivity and complexity of this rhizosphere soil network, such as root exudates (Shi et al. 2011). As reported in previous studies, differences in nutrition, niche, environment properties, etc., might lead to closer associations and more complex networks in root endosphere and rhizosphere soil (Fan et al. 2018). The core microorganisms, including Sphingobium, Pseudomonas, Steroidobacter, Agrobacterium, and Sphingomonas, were more involved in the network’s construction in the root endosphere and rhizosphere. These microorganisms play important roles in the network, so the low connectivity in bulk soil might be due to the lack of these microorganisms. Adding these microorganisms to bulk soils seems to be an excellent method to enhance the complexity and stability of the soil microbial networks, which could enhance the stress resistance of P. polyphylla. These conclusions and further research would offer us the perfect timing for adding microbial inoculants.

P. polyphylla also plays a vital role in shaping the function of the rhizosphere microbial community

In general, the environmental selection of microorganisms is mainly reflected in the collection of functions (Hammesfahr et al. 2011; Yan et al. 2017). In this study, through analysis of function genes predicted by PICRUSTs, the differences in function genes were found among compartments across planting years (Fig. 7). The higher carbon metabolism genes in the root and the rhizosphere indicate that the organic matter secreted by the P. polyphylla root endosphere and rhizosphere attracts numbers of C-loving microorganisms. It was proven by the enriching Proteobacteria in the root endosphere and rhizosphere (Fig. 1) (Kuzyakov and Razavi 2019). The increase of these genes in the bulk soil might be attributed to the rise of TOC in bulk soil across the three years (Table 1). A consensus is that N and P are essential to plant growth and development. Therefore, the increase of genes related to nitrogen metabolism in the bacterial community might be regulated by P. polyphylla for more nutrition. It can be summarized from the enrichment of Rhizobiales in P. polyphylla root and rhizosphere. The reason for the enrichment of phosphonate and phosphonate metabolism genes and nitrogen metabolism-related genes over time in the three compartments may be the combined effects of soil properties and plant selection (Fig. 7b). The increase of TN and TP (Table 1) in the bulk soil encouraged the accumulation of microorganisms with related genes to help P. polyphylla to obtain nutrients (Fig. 7b). The functional gene encoding methyl-accepting chemotaxis (K03406, related to signaling in plant–microbe interactions) was significantly enriched in P. polyphylla rhizosphere and root endosphere (Fig. 7a). It was also a significant evidence that the rhizosphere and root endosphere microbes interacted more with the plant than bulk soil. It was also found that these genes increased over time despite the minor abundance in the bulk soil. It seems to reveal that the selective pressure of plants on bulk soil rises over time. These findings showed that P. polyphylla enriched function genes related to nitrogen and phosphonate metabolism to help their growth, which is consistent with the results of community composition. These results help us uncover the complex plant–microbe interactions and provide an essential guide for applying microorganisms in agriculture.

Conclusion

This study provides comprehensive evidence on the effects of planting years on the P. polyphylla-associative microbes community assembly. Our results show that P. polyphylla-associative microbes were affected by both compartments and the planting years. In addition, it was uncovered that P. polyphylla selection sequentially increased and significantly affected community diversity and network complexity from bulk soils to rhizosphere soils to root endosphere. These findings significantly promote our understanding of the bacterial community assembly in P. polyphylla root and highlight the importance of the host selection effect.

Furthermore, the core microbiome in P. polyphylla roots was enriched over time, including Pseudomonas, Rhizobium, Steroidobacter, Sphingobium and Agrobacterium. Moreover, the core microorganisms of P. polyphylla root reached the lowest level in the bulk soil in the fourth year, with relative abundance below 0.1%. The results indicated that adding phosphate-solubilizing and nitrogen-fixing microorganisms, such as Pseudomonas, could contribute to the stress resistance and growth of P. polyphylla. Our work advances the understanding of dynamic variation host-microbiome assembly.