2.2.0 • Published 1 year ago

architect-elasticsearch v2.2.0

Weekly downloads
4
License
Apache License V2...
Repository
github
Last release
1 year ago

architect-elasticsearch

Expose elasticsearch as architect plugin.

Installation

npm install --save architect-elasticsearch

Usage

Boot Architect :

var path = require('path');
var architect = require("architect");

var config = architect.loadConfig(path.join(__dirname, "config.js"));

architect.createApp(config, function (err, app) {
    if (err) {
        throw err;
    }
    console.log("app ready");
});

Configure Architect with config.js to access the local Elasticsearch service:

module.exports = [{
    packagePath: "architect-elasticsearch",
    settings: {
        default: {
            hosts: ['localhost:9200']
        }
    }
}, './services'];
2.2.0

1 year ago

2.1.0

4 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

9 years ago

1.0.0

9 years ago