Configurator
Leave feedback
On this page
Inheritance: java.lang.Object
public class Configurator
Represents the search network configurator.
| Constructor | Description |
|---|---|
| Configurator() | Initializes a new instance of the Configurator class. |
| 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() |
public Configurator()
Initializes a new instance of the Configurator class.
public IndexSettingsConfigurator setIndexSettings()
Starts configuring the index settings for each shard in the search network.
Returns: IndexSettingsConfigurator - The index settings configurator.
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.
public Configuration completeConfiguration()
Completes the configuration process and returns an instance of the search network configuration.
Returns: Configuration - The configuration.
public Object getCore()
Returns: java.lang.Object
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.