Browse Source

Modified path filter

Norio Suzuki 9 năm trước cách đây
mục cha
commit
b346bc856f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 + "/*"
     }
   });
 };