0.0.1 • Published 9 years ago
elasticsearch-simple-api v0.0.1
Elasticsearch-Simple-Api for Node
This is a Node.js module that I developed while I was working on a small WEB project with Elasticsearch and facilitated me the use of this technology.
#Functions
#Example
First of all, import the module:
var esa = requiere('elasticsearch-simple-api');
Call the function:
sea.addMultipleDocuments(index, type, document, function (err,result){
if (error!= undefined)
console.log('Error: ' + error);
else
console.log('OK');
});
0.0.1
9 years ago