瀏覽代碼

Modified path filter

Norio Suzuki 9 年之前
父節點
當前提交
b346bc856f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/util/search.js

+ 1 - 1
lib/util/search.js

@@ -367,7 +367,7 @@ SearchClient.prototype.appendCriteriaForPathFilter = function(query, path)
   }
   query.body.query.bool.filter.push({
     wildcard: {
-      "path.raw": path + "/*"
+      "path": path + "/*"
     }
   });
 };