Browse Source

Changed the fields of phrase search target

Norio Suzuki 9 years ago
parent
commit
49c234aaea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/util/search.js

+ 2 - 2
lib/util/search.js

@@ -384,8 +384,8 @@ SearchClient.prototype.appendCriteriaForKeywordContains = function(query, keywor
           query: phrase, // each phrase is quoteted words
           type: 'phrase',
           fields: [ // Not use "*.ja" fields here, because we want to analyze (parse) search words
-            "path^2",
-            "body"
+            "path_raw^2",
+            "body_raw",
           ],
         }
       });