Configurator
Contents
 [
        
            Hide
        ]
    Inheritance: java.lang.Object
public class Configurator
Represents the search network configurator.
Constructors
| Constructor | Description | 
|---|---|
| Configurator() | Initializes a new instance of the Configurator class. | 
Methods
| Method | Description | 
|---|---|
| setIndexSettings() | Starts configuring the index settings for each shard in the search network. | 
| addNode(int nodeIndex) | Adds a node to the search network configuration. | 
| completeConfiguration() | Completes the configuration process and returns an instance of the search network configuration. | 
| getCore() | 
Configurator()
public Configurator()
Initializes a new instance of the Configurator class.
setIndexSettings()
public IndexSettingsConfigurator setIndexSettings()
Starts configuring the index settings for each shard in the search network.
Returns: IndexSettingsConfigurator - The index settings configurator.
addNode(int nodeIndex)
public NodeConfigurator addNode(int nodeIndex)
Adds a node to the search network configuration.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| nodeIndex | int | The node index. | 
Returns: NodeConfigurator - The node configurator.
completeConfiguration()
public Configuration completeConfiguration()
Completes the configuration process and returns an instance of the search network configuration.
Returns: Configuration - The configuration.
getCore()
public Object getCore()
Returns: java.lang.Object