mongoose-es-index-update
update elastic search index after save , updateOne mongoose hooks
Install
$ npm install mongoose-es-index-update
Usage
const mongooseEsUpdate = ; //..schema ,model//plugin options requiredconst options= index:"myindex" host:"localhost:9200" //elastisearch someSchema
Options
host
Type: string
elasticsearch node host url.
index
Type: string
elasticsearch index
License
MIT © Abdelhak Akermi