This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@mmpro/ac-bootstrap-elasticsearch

1.0.7 • Public • Published

AdmiralCloud ElasticSearch Connector

This helper initialitzes ElastistSearch instances and makes them available on a global variable

Usage

const esOptions = {
  servers: [
    { server: 'cluster', host: 'localhost', port: 9243, auth: 'username:password', apiVersion: '7.1', protocol: 'https' }
  ],
  indices: [
    { model: 'books', type: 'item', indexInfix: 'books', server: 'cluster', resetForTest: true, instance: 'books' }
  ]
}


TBC

Readme

Keywords

none

Package Sidebar

Install

npm i @mmpro/ac-bootstrap-elasticsearch

Weekly Downloads

5

Version

1.0.7

License

MIT

Unpacked Size

8.67 kB

Total Files

5

Last publish

Collaborators

  • admiralcloud
  • mmpro