public abstract class IndexSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexSettings.Builder |
| Constructor and Description |
|---|
IndexSettings() |
| Modifier and Type | Method and Description |
|---|---|
static IndexSettings.Builder |
builder() |
static IndexSettings |
create() |
static IndexSettings |
create(int newNumberOfShards,
int newNumberOfReplicas) |
abstract int |
getNumberOfReplicas()
The number of replica shards.
|
abstract int |
getNumberOfShards()
The number of primary shards that an index should have.
|
public abstract int getNumberOfShards()
public abstract int getNumberOfReplicas()
public static IndexSettings create()
public static IndexSettings create(int newNumberOfShards, int newNumberOfReplicas)
public static IndexSettings.Builder builder()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.