Skip to content
This repository was archived by the owner on Nov 19, 2017. It is now read-only.
This repository was archived by the owner on Nov 19, 2017. It is now read-only.

config object for DB Class #12

Open
@slmyers

Description

@slmyers

Include a config object that contains the information related to the ES index/types. e.g.

const config = {
  master: {
    index: ...,
    type: ..., 
    id: ...
  },
  response: {
    index: ..., 
    type: ...
  }
}

const db = new DB(elasticClient, config);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions