mongoose-elasticsearch-xp
mongoose-elasticsearch-xp copied to clipboard
A mongoose plugin that indexes models into Elasticsearch 2 / 5 / 6 and 7
I am having issues in filtering a mongo referenced filed. Below is the example: ``` var AssetSchema = new schema({ assetId: {type: Number, es_indexed: true, index:true}, assetMeta: {type: schema.Types.ObjectId, ref:...
Hi! I was just using this library for a school project and I found that your library's dependency on [email protected] creates a security vulnerability, as [email protected] relies on an outdated...
Hi, first of all, thanks for this package. Seems an interesting alternative to mongoosastic. I'm currently having a trouble in mongoosastic (and I've actually opened this issue in their repo...
Is there a way to use multi fields? In moongoosastic I was able to do something like this: ``` name: { type: String, es_indexed: true, es_type: 'multi_field', es_fields: { analyzed:...
I wanted to know if there is a way i can get an element by ID?
Currently this is my setup and I wish to store a value from Invoice mongoose collection to Transaction Elastic document using populate at esSynchronize. I used es_extend to map a...
If I add the MEXP plugin to my Mongoose schema, then my Nest server can't start and crashes with the following error : > .\node_modules\\@nestjs\mongoose\mongoose.utils.js:4 > return `${JSON.stringify(model)}Model`; > ^...
TypeError: _Promise is not a constructor at Object.module.exports.run (C:\.....\node_modules\mongoose-elasticsearch-xp\lib\utils.js:30:12) at Function.synchronize [as esSynchronize] (C:....\node_modules\mongoose-elasticsearch-xp\lib\index.js:327:16) at Object. (C:/.../src/models/job.js:348:5) at Module._compile (module.js:569:30) at loader (C:\....\node_modules\babel-register\lib\node.js:144:5) at Object.require.extensions.(anonymous function) [as .js] (C:\....\node_modules\babel-register\lib\node.js:154:7) at...
Is it possible, for items within the same mongoose model, to have a different index name? I have the following models. Site Model (Just stores a name of the site,...