seneca-elasticsearch
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "seneca-elasticsearch", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "elasticsearch plugin for seneca", | ||
@@ -5,0 +5,0 @@ "main": "elasticsearch.js", |
@@ -12,5 +12,11 @@ ![build status](https://travis-ci.org/AdrianRossouw/seneca-elasticsearch.svg) | ||
```JavaScript | ||
var seneca = require('seneca')({ | ||
strict: { // needed for seneca 0.6.4+ | ||
add: false | ||
} | ||
}); | ||
// important to use a store definition BEFORE including this module | ||
// to automatically index entities | ||
seneca.use('mem-store',{ map:{ '-/-/foo':'*' }}); | ||
@@ -17,0 +23,0 @@ |
@@ -10,3 +10,3 @@ /* jshint indent: 2, asi: true, unused: false */ | ||
var seneca = require('seneca')(); | ||
var seneca = require('seneca')({ strict: { add: false} }); | ||
var indexName = 'seneca-test-entity'; | ||
@@ -13,0 +13,0 @@ |
@@ -11,3 +11,3 @@ /* jshint indent: 2, asi: true, unused: false */ | ||
var seneca = require('seneca')(); | ||
var seneca = require('seneca')({ strict: { add: false} }); | ||
@@ -14,0 +14,0 @@ seneca.use(esPlugin, {refreshOnSave: true}); |
@@ -12,3 +12,3 @@ /* jshint indent: 2, asi: true, unused: false */ | ||
var seneca = require('seneca')(); | ||
var seneca = require('seneca')({ strict: { add: false }}); | ||
@@ -15,0 +15,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37312
128