소스 검색

Fix: type name

Sotaro KARASAWA 10 년 전
부모
커밋
667143791f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/util/search.js

+ 1 - 1
lib/util/search.js

@@ -49,7 +49,7 @@ SearchClient.prototype.prepareBodyForCreate = function(body, page) {
   var command = {
     index: {
       _index: this.index_name,
-      _type: 'page',
+      _type: 'pages',
       _id: page._id.toString(),
     }
   };