Norio Suzuki 9 лет назад
Родитель
Сommit
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 + "/*"
     }
   });
 };