Shun Miyazawa 2 лет назад
Родитель
Сommit
9d20d583b3

+ 0 - 4
apps/app/src/server/service/search-delegator/elasticsearch-client.ts

@@ -107,10 +107,6 @@ export default class ElasticsearchClient {
     return this.client instanceof ES7Client ? this.client.ping() : this.client.ping();
   }
 
-  // reindex(params: ES7RequestParams.Reindex & estypes.ReindexRequest): Promise<ES7ApiResponse<ReindexResponse> | estypes.ReindexResponse> {
-  //   return this.client instanceof ES7Client ? this.client.reindex(params) : this.client.reindex(params);
-  // }
-
   reindex(indexName: string, tmpIndexName: string): Promise<ES7ApiResponse<ReindexResponse> | estypes.ReindexResponse> {
     return this.client instanceof ES7Client
       ? this.client.reindex({ wait_for_completion: false, body: { source: { index: indexName }, dest: { index: tmpIndexName } } })