"use strict";exports.id=867,exports.ids=[867],exports.modules={76014:(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();const n=n=>"string"!=typeof e||!e||n.includes(e),s=await this.indexManager.list(),a=[],r=[];for(const e of s)if(n(e))try{await this.indexManager.enableIndexing(e),a.push(e)}catch(n){r.push(e),await this.manager.store.addErrorLog({message:`Failed to enable indexing on index "${e}".`,error:n})}return this.response.done("Task done.",{enabled:a,failed:r})}}}};
//# sourceMappingURL=EnableIndexingTaskRunner.d2831333.chunk.js.map