How to search in particular node when running multiple nodes

Hi, I am able to create multiple nodes (actually data folders) by following
solution mentioned on this link Create multiple nodes elasticsearch 5.4 - #5 by pjayramkumar

I am a .Net developer and I am struggling to find out the way to

  1. create new node in same cluster through c# code
  2. add document in particular node's index
  3. search in particular node's index

Currently I am creating index as per followings

var node = new Uri("http://localhost:9200/");
var settings = new ConnectionSettings(node);
var connectionSettings = new ConnectionSettings(node).DisableDirectStreaming().DefaultIndex(indexName);

Thanks

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