fromgroupdocs.search.scalingimportSearchNetworkNodefromgroupdocs.search.scaling.configuringimportConfiguration,TcpSettingsfromgroupdocs.search.commonimportFileLoggerbase_path="./SearchNetwork/"base_port=49100# Create and start the master nodemaster=SearchNetworkNode.create_master_node(0,base_path+"Node0",TcpSettings(base_port,3000,3000,3000,1000),FileLogger(base_path+"Log.txt",4.0),Configuration.load(base_path+"Configuration.xml"))master.configure_all_nodes()master.start()# Stop the node when doneinput("Press Enter to stop the master node\n")master.dispose()