Explorar el Código

Fix: type name

Sotaro KARASAWA hace 10 años
padre
commit
667143791f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(),
     }
   };