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