IndexSettingsConfigurator
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class IndexSettingsConfigurator
Represents the index settings configurator for each shard in the search network.
| Constructor | Description |
|---|---|
| IndexSettingsConfigurator() |
| Method | Description |
|---|---|
| setUseStopWords(boolean value) | Sets the use stop words flag. |
| setUseCharacterReplacements(boolean value) | Sets the use character replacements flag. |
| setTextStorageSettings(boolean isUsed, Compression compression) | Sets the text storage settings. |
| setIndexType(IndexType indexType) | Sets the index type. |
| setSearchThreads(NumberOfThreads numberOfThreads) | Sets the number of search threads. |
| completeIndexSettings() | Completes the configuration of the index settings. |
public IndexSettingsConfigurator()
public abstract IndexSettingsConfigurator setUseStopWords(boolean value)
Sets the use stop words flag.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The flag value. |
Returns: IndexSettingsConfigurator - The index settings configurator.
public abstract IndexSettingsConfigurator setUseCharacterReplacements(boolean value)
Sets the use character replacements flag.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The flag value. |
Returns: IndexSettingsConfigurator - The index settings configurator.
public abstract IndexSettingsConfigurator setTextStorageSettings(boolean isUsed, Compression compression)
Sets the text storage settings.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| isUsed | boolean | The flag of using the text storage in index. |
| compression | Compression | The compression level. |
Returns: IndexSettingsConfigurator - The index settings configurator.
public abstract IndexSettingsConfigurator setIndexType(IndexType indexType)
Sets the index type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| indexType | IndexType | The index type. |
Returns: IndexSettingsConfigurator - The index settings configurator.
public abstract IndexSettingsConfigurator setSearchThreads(NumberOfThreads numberOfThreads)
Sets the number of search threads.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| numberOfThreads | NumberOfThreads | The number of search threads. |
Returns: IndexSettingsConfigurator - The index settings configurator.
public abstract Configurator completeIndexSettings()
Completes the configuration of the index settings.
Returns: Configurator - The configurator.
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.