mongoosesastic no living connection
问题 I'm trying to insert my mongoose scheme into elasticsearch with mongoosastic but it gives me { [Error: No Living connections] message: 'No Living connections' } my mongoose schema: var mongoose = require( 'mongoose' ); var Schema = mongoose.Schema; var mongoosastic = require('mongoosastic'); var ProductSchema = new Schema( { ----huge load of json---- }); ProductSchema.plugin(mongoosastic,{host:'xxx.xxx.xxx.xxx:9200',curlDebug: true}); mongoose.model('product', ProductSchema); var product =