A search network consists of exactly one master node and one or more slave nodes. Each node is identified by a unique non‑negative node index. Use this method to configure the master node, which returns a MasterNodeConfigurator for further setup.
defadd_master_node(self,node_index):...
Parameter
Type
Description
node_index
int
The node index.
Returns: MasterNodeConfigurator: The node configurator.
Example
fromgroupdocs.search.scaling.configuringimportConfiguratorconfig=Configurator()master=config.add_master_node(0)# Continue configuring the master node using `master`
Aliases
These names call add_master_node too, limited to the overloads listed.