Kaynağa Gözat

ensure not to check ES version experimentally

Yuki Takei 6 yıl önce
ebeveyn
işleme
a09426e33e
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/server/util/search.js

+ 2 - 1
src/server/util/search.js

@@ -143,7 +143,8 @@ SearchClient.prototype.shouldIndexed = function(page) {
 };
 };
 
 
 SearchClient.prototype.initIndices = async function() {
 SearchClient.prototype.initIndices = async function() {
-  await this.checkESVersion();
+  // FIXME: comment out experimentally
+  // await this.checkESVersion();
 
 
   const { client, indexName, aliasName } = this;
   const { client, indexName, aliasName } = this;