-
Notifications
You must be signed in to change notification settings - Fork 24
Home
Jason Fill edited this page Sep 12, 2013
·
2 revisions
Welcome to the coldfusion-elasticsearch-client wiki!
The first thing you need to do is create an instance of the Cluster Manager which will be used for all the ElasticSearchClient calls. To do this you need to configure your nodes, there are two ways to do this:
The first is via a JSON object.
config = [{ host="elasticsearch", port="9200", path="", secure=false, username="", password=""}];
Now pass the config JSON object into the constructor (init function) of the ClusterManager.
clusterManager = new lib.ClusterManager(config);