T - public interface SearchIndexSettings<T> extends SearchIndexBase<T>
| Modifier and Type | Method and Description |
|---|---|
default IndexSettings |
getSettings()
Get the settings of an index.
|
default IndexSettings |
getSettings(RequestOptions requestOptions)
Get the settings of an index.
|
default CompletableFuture<IndexSettings> |
getSettingsAsync()
Get the settings of an index.
|
default CompletableFuture<IndexSettings> |
getSettingsAsync(RequestOptions requestOptions)
Get the settings of an index.
|
default SetSettingsResponse |
setSettings(IndexSettings settings)
Set settings of this index, and do not forward to slaves
|
default SetSettingsResponse |
setSettings(IndexSettings settings,
Boolean forwardToReplicas)
Set settings of this index, and do not forward to replicas
|
default SetSettingsResponse |
setSettings(IndexSettings settings,
Boolean forwardToReplicas,
RequestOptions requestOptions)
Set settings of this index, and do not forward to replicas
|
default SetSettingsResponse |
setSettings(IndexSettings settings,
RequestOptions requestOptions)
Set settings of this index, and do not forward to slaves
|
default CompletableFuture<SetSettingsResponse> |
setSettingsAsync(IndexSettings settings)
Set settings of this index, and do not forward to replicas
|
default CompletableFuture<SetSettingsResponse> |
setSettingsAsync(IndexSettings settings,
Boolean forwardToReplicas)
Set settings of this index, and do not forward to replicas
|
default CompletableFuture<SetSettingsResponse> |
setSettingsAsync(IndexSettings settings,
Boolean forwardToReplicas,
RequestOptions requestOptions)
Set settings of this index, and do not forward to replicas
|
default CompletableFuture<SetSettingsResponse> |
setSettingsAsync(IndexSettings settings,
RequestOptions requestOptions)
Set settings of this index, and do not forward to slaves
|
getClazz, getConfig, getTransport, getUrlEncodedIndexName, waitTask, waitTaskdefault SetSettingsResponse setSettings(@Nonnull IndexSettings settings)
settings - the settings to setdefault SetSettingsResponse setSettings(@Nonnull IndexSettings settings, @Nonnull Boolean forwardToReplicas)
settings - the settings to setforwardToReplicas - if true forward the settings to the replicasAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SetSettingsResponse setSettings(@Nonnull IndexSettings settings, @Nonnull Boolean forwardToReplicas, @Nonnull RequestOptions requestOptions)
settings - the settings to setforwardToReplicas - if true forward the settings to the replicasrequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SetSettingsResponse setSettings(@Nonnull IndexSettings settings, RequestOptions requestOptions)
settings - the settings to setrequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SetSettingsResponse> setSettingsAsync(@Nonnull IndexSettings settings)
settings - the settings to setAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SetSettingsResponse> setSettingsAsync(@Nonnull IndexSettings settings, @Nonnull Boolean forwardToReplicas)
settings - the settings to setforwardToReplicas - if true forward the settings to the replicasAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SetSettingsResponse> setSettingsAsync(@Nonnull IndexSettings settings, @Nonnull Boolean forwardToReplicas, @Nonnull RequestOptions requestOptions)
settings - the settings to setforwardToReplicas - if true forward the settings to the replicasrequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SetSettingsResponse> setSettingsAsync(@Nonnull IndexSettings settings, RequestOptions requestOptions)
settings - the settings to setrequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault IndexSettings getSettings()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault IndexSettings getSettings(RequestOptions requestOptions)
requestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<IndexSettings> getSettingsAsync()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<IndexSettings> getSettingsAsync(RequestOptions requestOptions)
requestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationCopyright © 2019. All rights reserved.