Browse Source

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

Fix/1224 full text search
Yuki Takei 6 years ago
parent
commit
807f25073f
2 changed files with 3 additions and 2 deletions
  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
 ## 3.5.16-RC
 
 
-* 
+* Fix: Full Text Search doesn't work after when building indices
+    * Introduced by 3.5.12
 
 
 ## 3.5.15
 ## 3.5.15
 
 

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

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