What is 'elasticseach' in require('elasticsearch')


(radhe) #1

In below code what does 'elasticsearch' stands for, is it the path of elasticsearch.js file?

var elasticsearch = require('elasticsearch');
var client = new elasticsearch.Client({
host: 'localhost:9200',
log: 'trace'
});


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.