Mongoose with ElasticSearch in node.js

3.6k Views Asked by At

I am using mongoDB in node.js with mongoose now I want to use ElasticSearch. Now can anyone please tell me would it be better to use mongoosastic, an npm module for both mongoose and ElasticSearch, or should I install ElasticSearch separately?

1

There are 1 best solutions below

5
On BEST ANSWER

Since you are already using mongoose, you should use mongoosastic.

Mongoosastic already depends on the ElasticSearch Module to perform ElasticSearch operations