瀏覽代碼

Merge pull request #1225 from weseek/fix/1224-full-text-search

Fix/1224 full text search
Yuki Takei 6 年之前
父節點
當前提交
807f25073f
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 1
      CHANGES.md
  2. 1 1
      src/server/util/search.js

+ 2 - 1
CHANGES.md

@@ -2,7 +2,8 @@
 
 ## 3.5.16-RC
 
-* 
+* Fix: Full Text Search doesn't work after when building indices
+    * Introduced by 3.5.12
 
 ## 3.5.15
 

+ 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(),
     },