Преглед изворни кода

fix the bug when creating indices

Yuki Takei пре 6 година
родитељ
комит
620971ce93
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/server/util/search.js

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

@@ -264,7 +264,7 @@ SearchClient.prototype.prepareBodyForCreate = function(body, page) {
 
   const command = {
     index: {
-      _index: this.aliasName,
+      _index: this.indexName,
       _type: 'pages',
       _id: page._id.toString(),
     },