add_master_node method

add_master_node

Adds a node to the search network configuration.

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.

def add_master_node(self, node_index):
    ...
Parameter Type Description
node_index int The node index.

Returns: MasterNodeConfigurator: The node configurator.

Example

from groupdocs.search.scaling.configuring import Configurator

config = 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.

Alias Accepts
add_master_node_int32 add_master_node_int32(node_index)

See Also