ac-bootstrap-elasticsearch

2.0.3 • 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 ac-bootstrap-elasticsearch

Weekly Downloads

27

Version

2.0.3

License

MIT

Unpacked Size

24.6 kB

Total Files

7

Last publish

Collaborators

  • admiralcloud