public interface SearchClientCopyOperations extends SearchClientBase
| Modifier and Type | Method and Description |
|---|---|
default void |
checkIndicesBeforeMoving(String sourceIndex,
String destinationIndex) |
default CopyResponse |
copyIndex(String sourceIndex,
String destinationIndex)
Make a copy of an index, in the given scope.
|
default CopyResponse |
copyIndex(String sourceIndex,
String destinationIndex,
List<String> scopes)
Make a copy of an index, in the given scope.
|
default CopyResponse |
copyIndex(String sourceIndex,
String destinationIndex,
List<String> scopes,
RequestOptions requestOptions)
Make a copy of an index in the given scope.
|
default CompletableFuture<CopyResponse> |
copyIndexAsync(String sourceIndex,
String destinationIndex)
Make a copy of an index, in the given scope.
|
default CompletableFuture<CopyResponse> |
copyIndexAsync(String sourceIndex,
String destinationIndex,
List<String> scopes)
Make a copy of an index, in the given scope.
|
default CompletableFuture<CopyResponse> |
copyIndexAsync(String sourceIndex,
String destinationIndex,
List<String> scopes,
RequestOptions requestOptions)
Make a copy of an index in the given scope.
|
default CopyResponse |
copyRules(String sourceIndex,
String destinationIndex)
Make a copy of the rules of an index
|
default CopyResponse |
copyRules(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Make a copy of the rules of an index
|
default CompletableFuture<CopyResponse> |
copyRulesAsync(String sourceIndex,
String destinationIndex)
Make a copy of the rules of an index
|
default CompletableFuture<CopyResponse> |
copyRulesAsync(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Make a copy of the rules of an index
|
default CopyResponse |
copySettings(String sourceIndex,
String destinationIndex)
Make a copy of the settings of an index
|
default CopyResponse |
copySettings(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Make a copy of the settings of an index
|
default CompletableFuture<CopyResponse> |
copySettingsAsync(String sourceIndex,
String destinationIndex)
Make a copy of the settings of an index
|
default CompletableFuture<CopyResponse> |
copySettingsAsync(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Make a copy of the settings of an index
|
default CopyResponse |
copySynonyms(String sourceIndex,
String destinationIndex)
Make a copy of the synonyms of an index
|
default CopyResponse |
copySynonyms(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Make a copy of the synonyms of an index
|
default CompletableFuture<CopyResponse> |
copySynonymsAsync(String sourceIndex,
String destinationIndex)
Make a copy of the synonyms of an index
|
default CompletableFuture<CopyResponse> |
copySynonymsAsync(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Make a copy of the synonyms of an index
|
default MoveIndexResponse |
moveIndex(String sourceIndex,
String destinationIndex)
Rename an index.
|
default MoveIndexResponse |
moveIndex(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Rename an index.
|
default CompletableFuture<MoveIndexResponse> |
moveIndexAsync(String sourceIndex,
String destinationIndex)
Rename an index.
|
default CompletableFuture<MoveIndexResponse> |
moveIndexAsync(String sourceIndex,
String destinationIndex,
RequestOptions requestOptions)
Rename an index.
|
getConfig, getTransport, waitTask, waitTaskdefault CopyResponse copySettings(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CopyResponse copySettings(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexrequestOptions - 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<CopyResponse> copySettingsAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<CopyResponse> copySettingsAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexrequestOptions - 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 CopyResponse copyRules(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CopyResponse copyRules(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexrequestOptions - 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<CopyResponse> copyRulesAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<CopyResponse> copyRulesAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexrequestOptions - 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 CopyResponse copySynonyms(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CopyResponse copySynonyms(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexrequestOptions - 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<CopyResponse> copySynonymsAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<CopyResponse> copySynonymsAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexrequestOptions - 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 CopyResponse copyIndex(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CopyResponse copyIndex(@Nonnull String sourceIndex, @Nonnull String destinationIndex, List<String> scopes)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexscopes - Scope of the copyAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CopyResponse copyIndex(@Nonnull String sourceIndex, @Nonnull String destinationIndex, List<String> scopes, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexscopes - Scope of the copyrequestOptions - 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<CopyResponse> copyIndexAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<CopyResponse> copyIndexAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex, List<String> scopes)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexscopes - Scope of the copyAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<CopyResponse> copyIndexAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex, List<String> scopes, RequestOptions requestOptions)
sourceIndex - The source index to copy fromdestinationIndex - the destination indexscopes - Scope of the copyrequestOptions - 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 MoveIndexResponse moveIndex(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index. Should not be null or empty.destinationIndex - The destination destination. Should not be null or empty.default MoveIndexResponse moveIndex(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index. Should not be null or empty.destinationIndex - The destination destination. Should not be null or empty.requestOptions - Options to pass to this requestdefault CompletableFuture<MoveIndexResponse> moveIndexAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex)
sourceIndex - The source index. Should not be null or empty.destinationIndex - The destination destination. Should not be null or empty.default CompletableFuture<MoveIndexResponse> moveIndexAsync(@Nonnull String sourceIndex, @Nonnull String destinationIndex, RequestOptions requestOptions)
sourceIndex - The source index. Should not be null or empty.destinationIndex - The destination destination. Should not be null or empty.requestOptions - Options to pass to this requestCopyright © 2019. All rights reserved.