Mongoose-elastic
Do stuff with elastic and mongoose
Version
0.3
Tech
- Mongoose
Directory Structure
|---mongoose-elastic |-lib |-test
Install
npm install mongoose-elastic --save
Setup
Add a mapping and prefix.
activitySchema.plugin
syncAll
Sync things.
Activity.syncAll
sync
search
Global
elastic.search.config;elastic.search
Just a collection
Activity.search
Tests
make test