1.0.3 • Published 5 years ago

egg-elasticsearch-new v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

egg-elasticsearch-new

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

Install

$ npm i egg-elasticsearch-new --save

Usage

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

Configuration

// {app_root}/config/config.default.js
exports.elasticsearch = {
  client: {
    host: "127.0.0.1:9200",
    log: "error"
  }
 // clients: {
  //  test: {
  //    host: "127.0.0.1:9200",
  //    log: "error"
  //  }
  }

};

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT

1.0.3

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago