| Package | Description |
|---|---|
| com.algolia.search | |
| com.algolia.search.objects |
| 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 forwardToSlaves)
Add or Replace a list of synonyms, no replacement
|
Task |
Index.batchSynonyms(List<AbstractSynonym> synonyms,
boolean forwardToSlaves,
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 forwardToSlaves)
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 forwardToSlaves)
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 forwardToSlaves)
Saves/updates a synonym without replacing
|
Task |
Index.saveSynonym(String synonymID,
AbstractSynonym content,
boolean forwardToSlaves,
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 forwardToSlaves)
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.setAttributes(String indexName,
APIClient apiClient) |
Copyright © 2016. All rights reserved.