| Package | Description |
|---|---|
| com.algolia.search | |
| com.algolia.search.objects.tasks.async |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<AsyncTask> |
AsyncIndex.batchSynonyms(List<AbstractSynonym> synonyms)
Add or Replace a list of synonyms, no forward to slaves, and no replacement
|
CompletableFuture<AsyncTask> |
AsyncIndex.batchSynonyms(List<AbstractSynonym> synonyms,
boolean forwardToReplicas)
Add or Replace a list of synonyms, no replacement
|
CompletableFuture<AsyncTask> |
AsyncIndex.batchSynonyms(List<AbstractSynonym> synonyms,
boolean forwardToReplicas,
boolean replaceExistingSynonyms)
Add or Replace a list of synonyms
|
CompletableFuture<AsyncTask> |
AsyncIndex.clear()
Delete the index content without removing settings and index specific API keys.
|
CompletableFuture<AsyncTask> |
AsyncIndex.clearSynonyms()
Clear all synonyms and NOT forwarding it to the slaves
|
CompletableFuture<AsyncTask> |
AsyncIndex.clearSynonyms(boolean forwardToReplicas)
Clears all synonyms
|
CompletableFuture<AsyncTask> |
AsyncIndex.copyTo(String dstIndexName)
Copy an existing index
|
CompletableFuture<AsyncTask> |
AsyncIndex.delete()
Deletes the index
|
CompletableFuture<AsyncTask> |
AsyncIndex.deleteObject(String objectID)
Delete an object from the index
|
CompletableFuture<AsyncTask> |
AsyncIndex.deleteSynonym(String synonymID)
Deletes a synonym by ID and NOT forwarding it to the slaves
|
CompletableFuture<AsyncTask> |
AsyncIndex.deleteSynonym(String synonymID,
boolean forwardToReplicas)
Deletes a synonym
|
CompletableFuture<AsyncTask> |
AsyncIndex.moveTo(String dstIndexName)
Moves an existing index
|
CompletableFuture<AsyncTask> |
AsyncIndex.saveObject(String objectID,
T object)
Override the content of object
|
CompletableFuture<AsyncTask> |
AsyncIndex.saveSynonym(String synonymID,
AbstractSynonym content)
Saves/updates a synonym without replacing it and NOT forwarding it to the slaves
|
CompletableFuture<AsyncTask> |
AsyncIndex.saveSynonym(String synonymID,
AbstractSynonym content,
boolean forwardToReplicas)
Saves/updates a synonym without replacing
|
CompletableFuture<AsyncTask> |
AsyncIndex.saveSynonym(String synonymID,
AbstractSynonym content,
boolean forwardToReplicas,
boolean replaceExistingSynonyms)
Saves/updates a synonym
|
CompletableFuture<AsyncTask> |
AsyncIndex.setSettings(IndexSettings settings)
Set settings of this index, and do not forward to slaves
|
CompletableFuture<AsyncTask> |
AsyncIndex.setSettings(IndexSettings settings,
Boolean forwardToReplicas)
Set settings of this index
|
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncIndex.waitTask(AsyncTask task)
Wait for the completion of a task, for 100ms
|
void |
AsyncIndex.waitTask(AsyncTask task,
long timeToWait)
Wait for the completion of a task
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncTaskIndexing |
class |
AsyncTaskSingleIndex |
| Modifier and Type | Method and Description |
|---|---|
AsyncTask |
AsyncTask.setIndex(String indexName) |
Copyright © 2016. All rights reserved.