1.0.0 • Published 7 years ago

egg-elasticsearch v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

egg-elasticsearch

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-elasticsearch --save

Usage

// {app_root}/config/plugin.js
exports.elasticsearch = {
  enable: true,
  package: 'egg-elasticsearch',
};

Configuration

// {app_root}/config/config.default.js
exports.elasticsearch = {
   client: {
        host: '**'
      }
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT