"use strict";exports.ids=["6"],exports.modules={83714:function(e,n){n.EnableIndexingTaskRunner=void 0,n.EnableIndexingTaskRunner=class{constructor(e,n){this.manager=e,this.response=e.response,this.indexManager=n}async exec(e){if(this.manager.isAborted())return this.response.aborted();let n=n=>"string"!=typeof e||!e||n.includes(e),s=await this.indexManager.list(),r=[],a=[];for(let e of s)if(n(e))try{await this.indexManager.enableIndexing(e),r.push(e)}catch(n){a.push(e),await this.manager.store.addErrorLog({message:`Failed to enable indexing on index "${e}".`,error:n})}return this.response.done("Task done.",{enabled:r,failed:a})}}}};
//# sourceMappingURL=EnableIndexingTaskRunner.9d61bda7.chunk.js.map