/egg-elasticsearch

egg elasticsearch

Primary LanguageJavaScriptMIT LicenseMIT

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