T - public interface SearchIndexSynonyms<T> extends SearchIndexBase<T>
| Modifier and Type | Method and Description |
|---|---|
default SynonymsIterable |
browseSynonyms()
Retrieve an index’s complete list of synonyms The list includes all synonyms - whether created
on the dashboard or pushed by the API.
|
default SynonymsIterable |
browseSynonyms(int hitsPerPage)
Retrieve an index’s complete list of synonyms The list includes all synonyms - whether created
on the dashboard or pushed by the API.
|
default SynonymsIterable |
browseSynonyms(int hitsPerPage,
RequestOptions requestOptions)
Retrieve an index’s complete list of synonyms The list includes all synonyms - whether created
on the dashboard or pushed by the API.
|
default ClearSynonymsResponse |
clearSynonyms()
Remove all synonyms from an index.
|
default ClearSynonymsResponse |
clearSynonyms(Boolean forwardToReplicas)
Remove all synonyms from an index.
|
default ClearSynonymsResponse |
clearSynonyms(RequestOptions requestOptions)
Remove all synonyms from an index.
|
default CompletableFuture<ClearSynonymsResponse> |
clearSynonymsAsync()
Remove all synonyms from an index.
|
default CompletableFuture<ClearSynonymsResponse> |
clearSynonymsAsync(Boolean forwardToReplicas)
Remove all synonyms from an index.
|
default CompletableFuture<ClearSynonymsResponse> |
clearSynonymsAsync(RequestOptions requestOptions)
Remove all synonyms from an index.
|
default DeleteResponse |
deleteSynonym(String objectID)
Remove a single synonym from an index using its object id.
|
default DeleteResponse |
deleteSynonym(String objectID,
Boolean forwardToReplicas)
Remove a single synonym from an index using its object id.
|
default DeleteResponse |
deleteSynonym(String objectID,
RequestOptions requestOptions)
Remove a single synonym from an index using its object id.
|
default CompletableFuture<DeleteResponse> |
deleteSynonymAsync(String objectID)
Remove a single synonym from an index using its object id.
|
default CompletableFuture<DeleteResponse> |
deleteSynonymAsync(String objectID,
Boolean forwardToReplicas)
Remove a single synonym from an index using its object id.
|
default CompletableFuture<DeleteResponse> |
deleteSynonymAsync(String objectID,
RequestOptions requestOptions)
Remove a single synonym from an index using its object id.
|
default Synonym |
getSynonym(String objectID)
Get a single synonym using its object id.
|
default Synonym |
getSynonym(String objectID,
RequestOptions requestOptions)
Get a single synonym using its object id.
|
default CompletableFuture<Synonym> |
getSynonymAsync(String objectID)
Get a single synonym using its object id.
|
default CompletableFuture<Synonym> |
getSynonymAsync(String objectID,
RequestOptions requestOptions)
Get a single synonym using its object id.
|
default SaveSynonymResponse |
replaceAllSynonyms(Iterable<Synonym> synonyms)
Push a new set of synonyms and erase all previous ones.
|
default SaveSynonymResponse |
replaceAllSynonyms(Iterable<Synonym> synonyms,
Boolean forwardToReplicas)
Push a new set of synonyms and erase all previous ones.
|
default SaveSynonymResponse |
replaceAllSynonyms(Iterable<Synonym> synonyms,
RequestOptions requestOptions)
Push a new set of synonyms and erase all previous ones.
|
default CompletableFuture<SaveSynonymResponse> |
replaceAllSynonymsAsync(Iterable<Synonym> synonyms)
Push a new set of synonyms and erase all previous ones.
|
default CompletableFuture<SaveSynonymResponse> |
replaceAllSynonymsAsync(Iterable<Synonym> synonyms,
Boolean forwardToReplicas)
Push a new set of synonyms and erase all previous ones.
|
default CompletableFuture<SaveSynonymResponse> |
replaceAllSynonymsAsync(Iterable<Synonym> synonyms,
RequestOptions requestOptions)
Push a new set of synonyms and erase all previous ones.
|
default SaveSynonymResponse |
saveSynonym(Synonym synonym)
Create or update a single rule.
|
default SaveSynonymResponse |
saveSynonym(Synonym synonym,
Boolean forwardToReplicas)
Create or update a single rule.
|
default SaveSynonymResponse |
saveSynonym(Synonym synonym,
Boolean forwardToReplicas,
RequestOptions requestOptions)
Create or update a single rule.
|
default SaveSynonymResponse |
saveSynonym(Synonym synonym,
RequestOptions requestOptions)
Create or update a single synonym on an index.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymAsync(Synonym synonym)
Create or update a single rule.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymAsync(Synonym synonym,
Boolean forwardToReplicas)
Create or update a single rule.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymAsync(Synonym synonym,
Boolean forwardToReplicas,
RequestOptions requestOptions)
Create or update a single rule.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymAsync(Synonym synonym,
RequestOptions requestOptions)
Create or update a single synonym on an index.
|
default SaveSynonymResponse |
saveSynonyms(Iterable<Synonym> synonyms)
Create or update multiple synonyms.
|
default SaveSynonymResponse |
saveSynonyms(Iterable<Synonym> synonyms,
Boolean forwardToReplicas,
Boolean replaceExistingSynonyms)
Create or update multiple synonyms.
|
default SaveSynonymResponse |
saveSynonyms(Iterable<Synonym> synonyms,
Boolean forwardToReplicas,
Boolean replaceExistingSynonyms,
RequestOptions requestOptions)
Create or update multiple synonyms.
|
default SaveSynonymResponse |
saveSynonyms(Iterable<Synonym> synonyms,
RequestOptions requestOptions)
Create or update multiple synonyms.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymsAsync(Iterable<Synonym> synonyms)
Create or update multiple synonyms.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymsAsync(Iterable<Synonym> synonyms,
Boolean forwardToReplicas,
Boolean replaceExistingSynonyms)
Create or update multiple synonyms.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymsAsync(Iterable<Synonym> synonyms,
Boolean forwardToReplicas,
Boolean replaceExistingSynonyms,
RequestOptions requestOptions)
Create or update multiple synonyms.
|
default CompletableFuture<SaveSynonymResponse> |
saveSynonymsAsync(Iterable<Synonym> synonyms,
RequestOptions requestOptions)
Create or update multiple synonyms.
|
default SearchResult<Synonym> |
searchSynonyms(SynonymQuery query)
Get all synonyms that match a query.
|
default SearchResult<Synonym> |
searchSynonyms(SynonymQuery query,
RequestOptions requestOptions)
Get all synonyms that match a query.
|
default CompletableFuture<SearchResult<Synonym>> |
searchSynonymsAsync(SynonymQuery query)
Get all synonyms that match a query.
|
default CompletableFuture<SearchResult<Synonym>> |
searchSynonymsAsync(SynonymQuery query,
RequestOptions requestOptions)
Get all synonyms that match a query.
|
getClazz, getConfig, getTransport, getUrlEncodedIndexName, waitTask, waitTaskdefault SearchResult<Synonym> searchSynonyms(SynonymQuery query)
query - Synonym queryAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SearchResult<Synonym> searchSynonyms(SynonymQuery query, RequestOptions requestOptions)
query - Synonym queryrequestOptions - 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<SearchResult<Synonym>> searchSynonymsAsync(SynonymQuery query)
query - Synonym queryAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SearchResult<Synonym>> searchSynonymsAsync(SynonymQuery query, RequestOptions requestOptions)
query - Synonym queryrequestOptions - 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 Synonym getSynonym(@Nonnull String objectID)
objectID - Algolia's objectIDAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault Synonym getSynonym(@Nonnull String objectID, RequestOptions requestOptions)
objectID - Algolia's objectIDrequestOptions - 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<Synonym> getSynonymAsync(@Nonnull String objectID)
objectID - Algolia's objectIDAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<Synonym> getSynonymAsync(@Nonnull String objectID, RequestOptions requestOptions)
objectID - Algolia's objectIDrequestOptions - 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 SynonymsIterable browseSynonyms()
default SynonymsIterable browseSynonyms(int hitsPerPage)
hitsPerPage - Number of hits per page to retrieve default = 1000default SynonymsIterable browseSynonyms(int hitsPerPage, RequestOptions requestOptions)
hitsPerPage - Number of hits per page to retrieve default = 1000requestOptions - Options to pass to this requestdefault SaveSynonymResponse saveSynonym(@Nonnull Synonym synonym)
synonym - Algolia's synonymAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SaveSynonymResponse saveSynonym(@Nonnull Synonym synonym, @Nonnull Boolean forwardToReplicas)
synonym - Algolia's synonymforwardToReplicas - Forward the request 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 SaveSynonymResponse saveSynonym(@Nonnull Synonym synonym, @Nonnull Boolean forwardToReplicas, @Nonnull RequestOptions requestOptions)
synonym - Algolia's synonymforwardToReplicas - Forward the request 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 SaveSynonymResponse saveSynonym(@Nonnull Synonym synonym, @Nonnull RequestOptions requestOptions)
synonym - Algolia's synonymrequestOptions - 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<SaveSynonymResponse> saveSynonymAsync(@Nonnull Synonym synonym)
synonym - Algolia's synonymAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SaveSynonymResponse> saveSynonymAsync(@Nonnull Synonym synonym, @Nonnull Boolean forwardToReplicas)
synonym - Algolia's synonymforwardToReplicas - Forward the request 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<SaveSynonymResponse> saveSynonymAsync(@Nonnull Synonym synonym, @Nonnull Boolean forwardToReplicas, @Nonnull RequestOptions requestOptions)
synonym - Algolia's synonymforwardToReplicas - Forward the request 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<SaveSynonymResponse> saveSynonymAsync(@Nonnull Synonym synonym, @Nonnull RequestOptions requestOptions)
synonym - Algolia's synonymrequestOptions - 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 SaveSynonymResponse saveSynonyms(@Nonnull Iterable<Synonym> synonyms)
synonyms - List of synonymsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SaveSynonymResponse saveSynonyms(@Nonnull Iterable<Synonym> synonyms, @Nonnull Boolean forwardToReplicas, @Nonnull Boolean replaceExistingSynonyms)
synonyms - List of synonymsforwardToReplicas - Forward to the replicas the requestreplaceExistingSynonyms - Replace all existing synonymsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SaveSynonymResponse saveSynonyms(@Nonnull Iterable<Synonym> synonyms, @Nonnull Boolean forwardToReplicas, @Nonnull Boolean replaceExistingSynonyms, @Nonnull RequestOptions requestOptions)
synonyms - List of synonymsforwardToReplicas - Forward to the replicas the requestreplaceExistingSynonyms - Replace all existing synonymsrequestOptions - 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 SaveSynonymResponse saveSynonyms(@Nonnull Iterable<Synonym> synonyms, RequestOptions requestOptions)
synonyms - List of synonymsrequestOptions - 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<SaveSynonymResponse> saveSynonymsAsync(@Nonnull Iterable<Synonym> synonyms)
synonyms - List of synonymsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SaveSynonymResponse> saveSynonymsAsync(@Nonnull Iterable<Synonym> synonyms, @Nonnull Boolean forwardToReplicas, @Nonnull Boolean replaceExistingSynonyms)
synonyms - List of synonymsforwardToReplicas - Forward to the replicas the requestreplaceExistingSynonyms - Replace all existing synonymsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SaveSynonymResponse> saveSynonymsAsync(@Nonnull Iterable<Synonym> synonyms, @Nonnull Boolean forwardToReplicas, @Nonnull Boolean replaceExistingSynonyms, @Nonnull RequestOptions requestOptions)
synonyms - List of synonymsforwardToReplicas - Forward to the replicas the requestreplaceExistingSynonyms - Replace all existing synonymsrequestOptions - 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<SaveSynonymResponse> saveSynonymsAsync(@Nonnull Iterable<Synonym> synonyms, RequestOptions requestOptions)
synonyms - List of synonymsrequestOptions - 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 DeleteResponse deleteSynonym(@Nonnull String objectID)
objectID - The synonym objectIDAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault DeleteResponse deleteSynonym(@Nonnull String objectID, @Nonnull Boolean forwardToReplicas)
objectID - The synonym objectIDforwardToReplicas - Forward the request 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 DeleteResponse deleteSynonym(@Nonnull String objectID, RequestOptions requestOptions)
objectID - The synonym objectIDrequestOptions - 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<DeleteResponse> deleteSynonymAsync(@Nonnull String objectID)
objectID - The synonym objectIDAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<DeleteResponse> deleteSynonymAsync(@Nonnull String objectID, @Nonnull Boolean forwardToReplicas)
objectID - The synonym objectIDforwardToReplicas - Forward the request 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<DeleteResponse> deleteSynonymAsync(@Nonnull String objectID, RequestOptions requestOptions)
objectID - The synonym objectIDrequestOptions - 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 ClearSynonymsResponse clearSynonyms()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault ClearSynonymsResponse clearSynonyms(@Nonnull Boolean forwardToReplicas)
forwardToReplicas - Forward the request 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 ClearSynonymsResponse clearSynonyms(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<ClearSynonymsResponse> clearSynonymsAsync()
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<ClearSynonymsResponse> clearSynonymsAsync(@Nonnull Boolean forwardToReplicas)
forwardToReplicas - Forward the request 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<ClearSynonymsResponse> clearSynonymsAsync(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 SaveSynonymResponse replaceAllSynonyms(@Nonnull Iterable<Synonym> synonyms)
synonyms - List of synonymsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SaveSynonymResponse replaceAllSynonyms(@Nonnull Iterable<Synonym> synonyms, @Nonnull Boolean forwardToReplicas)
synonyms - List of synonymsforwardToReplicas - Forward to the replicas the requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SaveSynonymResponse replaceAllSynonyms(@Nonnull Iterable<Synonym> synonyms, @Nonnull RequestOptions requestOptions)
synonyms - List of synonymsrequestOptions - 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<SaveSynonymResponse> replaceAllSynonymsAsync(@Nonnull Iterable<Synonym> synonyms)
synonyms - List of synonymsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SaveSynonymResponse> replaceAllSynonymsAsync(@Nonnull Iterable<Synonym> synonyms, @Nonnull Boolean forwardToReplicas)
synonyms - List of synonymsforwardToReplicas - Forward to the replicas the 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<SaveSynonymResponse> replaceAllSynonymsAsync(@Nonnull Iterable<Synonym> synonyms, @Nonnull RequestOptions requestOptions)
synonyms - List of synonymsrequestOptions - 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.