@@ -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(),
}
};