After the import performance is enhanced, the number of index merge tasks increases accordingly. You can adjust the following configuration to reduce the impact of merge task overhead on the import performance:
You can increase the value of index.merge.scheduler.max_thread_count to increase the number of shard merge threads and reduce the traffic limit on data import. The default value is 4 and you are advised to set it to 8.
PUT my_index { "settings": { "index.merge.scheduler.max_thread_count": 8 } }