| Package | Description |
|---|---|
| com.algolia.search | |
| com.algolia.search.objects.tasks.sync |
| Modifier and Type | Method | Description |
|---|---|---|
default Task |
SyncRules.batchRules(List<Rule> rules) |
Add or replace a list of Rules, no forward to replicas, and no replacement
|
default Task |
SyncRules.batchRules(List<Rule> rules,
boolean forwardToReplicas) |
Add or replace a list of Rules, no replacement
|
default Task |
SyncRules.batchRules(List<Rule> rules,
boolean forwardToReplicas,
boolean clearExistingRules) |
Add or replace a list of query Rules
|
default Task |
SyncRules.batchRules(List<Rule> rules,
boolean forwardToReplicas,
boolean clearExistingRules,
RequestOptions requestOptions) |
Add or replace a list of query Rules
|
default Task |
SyncRules.batchRules(List<Rule> rules,
boolean forwardToReplicas,
RequestOptions requestOptions) |
Add or replace a list of Rules, no replacement
|
default Task |
SyncRules.batchRules(List<Rule> rules,
RequestOptions requestOptions) |
Add or replace a list of Rules, no forward to replicas, and no replacement
|
default Task |
SyncSynonyms.batchSynonyms(List<AbstractSynonym> synonyms) |
Add or Replace a list of synonyms, no forward to slaves, and no replacement
|
default Task |
SyncSynonyms.batchSynonyms(List<AbstractSynonym> synonyms,
boolean forwardToReplicas) |
Add or Replace a list of synonyms, no replacement
|
default Task |
SyncSynonyms.batchSynonyms(List<AbstractSynonym> synonyms,
boolean forwardToReplicas,
boolean replaceExistingSynonyms) |
Add or Replace a list of synonyms
|
default Task |
SyncSynonyms.batchSynonyms(List<AbstractSynonym> synonyms,
boolean forwardToReplicas,
boolean replaceExistingSynonyms,
RequestOptions requestOptions) |
Add or Replace a list of synonyms
|
default Task |
SyncSynonyms.batchSynonyms(List<AbstractSynonym> synonyms,
boolean forwardToReplicas,
RequestOptions requestOptions) |
Add or Replace a list of synonyms, no replacement
|
default Task |
SyncSynonyms.batchSynonyms(List<AbstractSynonym> synonyms,
RequestOptions requestOptions) |
Add or Replace a list of synonyms, no forward to slaves, and no replacement
|
default Task |
SyncIndexCRUD.clear() |
Delete the index content without removing settings and index specific API keys.
|
default Task |
SyncIndexCRUD.clear(RequestOptions requestOptions) |
Delete the index content without removing settings and index specific API keys.
|
default Task |
SyncRules.clearRules() |
Clear all query Rules and NOT forwarding it to the replicas
|
default Task |
SyncRules.clearRules(boolean forwardToReplicas) |
Clears all Rules
|
default Task |
SyncRules.clearRules(boolean forwardToReplicas,
RequestOptions requestOptions) |
Clears all Rules
|
default Task |
SyncRules.clearRules(RequestOptions requestOptions) |
Clear all query Rules and NOT forwarding it to the replicas
|
default Task |
SyncSynonyms.clearSynonyms() |
Clear all synonyms and NOT forwarding it to the replicas
|
default Task |
SyncSynonyms.clearSynonyms(boolean forwardToReplicas) |
Clears all synonyms
|
default Task |
SyncSynonyms.clearSynonyms(boolean forwardToReplicas,
RequestOptions requestOptions) |
Clears all synonyms
|
default Task |
SyncSynonyms.clearSynonyms(RequestOptions requestOptions) |
Clear all synonyms and NOT forwarding it to the replicas
|
Task |
APIClient.copyIndex(String srcIndexName,
String dstIndexName) |
Copy an existing index
|
Task |
APIClient.copyIndex(String srcIndexName,
String dstIndexName,
RequestOptions requestOptions) |
Copy an existing index
|
Task |
APIClient.copyIndex(String srcIndexName,
String dstIndexName,
List<String> scope) |
Copy an existing index
|
Task |
APIClient.copyIndex(String srcIndexName,
String dstIndexName,
List<String> scope,
RequestOptions requestOptions) |
Copy an existing index
|
default Task |
SyncIndexCRUD.copyTo(String dstIndexName) |
Copy an existing index
|
default Task |
SyncIndexCRUD.copyTo(String dstIndexName,
RequestOptions requestOptions) |
Copy an existing index
|
default Task |
SyncIndexCRUD.copyTo(String dstIndexName,
List<String> scope) |
Copy an existing index
|
default Task |
SyncIndexCRUD.copyTo(String dstIndexName,
List<String> scope,
RequestOptions requestOptions) |
Copy an existing index
|
default Task |
SyncIndexCRUD.delete() |
Deletes the index
|
default Task |
SyncIndexCRUD.delete(RequestOptions requestOptions) |
Deletes the index
|
default Task |
SyncDeleteByQuery.deleteBy(Query query) |
Delete records matching a query
|
default Task |
SyncDeleteByQuery.deleteBy(Query query,
RequestOptions requestOptions) |
Delete records matching a query
|
Task |
APIClient.deleteIndex(String indexName) |
Delete an existing index
|
Task |
APIClient.deleteIndex(String indexName,
RequestOptions requestOptions) |
Delete an existing index
|
default Task |
SyncObjects.deleteObject(String objectID) |
Delete an object from the index
|
default Task |
SyncObjects.deleteObject(String objectID,
RequestOptions requestOptions) |
Delete an object from the index
|
default Task |
SyncRules.deleteRule(String ruleId) |
Deletes a query rule by ID and NOT forwarding it to the replicas
|
default Task |
SyncRules.deleteRule(String ruleId,
boolean forwardToReplicas,
RequestOptions requestOptions) |
Deletes a query rule
|
default Task |
SyncRules.deleteRule(String ruleId,
RequestOptions requestOptions) |
Deletes a query rule by ID and NOT forwarding it to the replicas
|
default Task |
SyncSynonyms.deleteSynonym(String synonymID) |
Deletes a synonym by ID and NOT forwarding it to the replicas
|
default Task |
SyncSynonyms.deleteSynonym(String synonymID,
boolean forwardToReplicas) |
Deletes a synonym
|
default Task |
SyncSynonyms.deleteSynonym(String synonymID,
boolean forwardToReplicas,
RequestOptions requestOptions) |
Deletes a synonym
|
default Task |
SyncSynonyms.deleteSynonym(String synonymID,
RequestOptions requestOptions) |
Deletes a synonym by ID and NOT forwarding it to the replicas
|
Task |
APIClient.moveIndex(String srcIndexName,
String dstIndexName) |
Moves an existing index
|
Task |
APIClient.moveIndex(String srcIndexName,
String dstIndexName,
RequestOptions requestOptions) |
Moves an existing index
|
default Task |
SyncIndexCRUD.moveTo(String dstIndexName) |
Moves an existing index
|
default Task |
SyncIndexCRUD.moveTo(String dstIndexName,
RequestOptions requestOptions) |
Moves an existing index
|
default Task |
SyncObjects.saveObject(String objectID,
T object) |
Override the content of object
|
default Task |
SyncObjects.saveObject(String objectID,
T object,
RequestOptions requestOptions) |
Override the content of object
|
default Task |
SyncRules.saveRule(String queryRuleID,
Rule content) |
Saves/updates a query rule without replacing it and NOT forwarding it to the replicas
|
default Task |
SyncRules.saveRule(String queryRuleID,
Rule content,
boolean forwardToReplicas) |
Saves/updates a queryRule without replacing
|
default Task |
SyncRules.saveRule(String queryRuleID,
Rule content,
boolean forwardToReplicas,
RequestOptions requestOptions) |
Saves/updates a queryRule without replacing
|
default Task |
SyncRules.saveRule(String queryRuleID,
Rule content,
RequestOptions requestOptions) |
Saves/updates a query rule without replacing it and NOT forwarding it to the replicas
|
default Task |
SyncSynonyms.saveSynonym(String synonymID,
AbstractSynonym content) |
Saves/updates a synonym without replacing it and NOT forwarding it to the replicas
|
default Task |
SyncSynonyms.saveSynonym(String synonymID,
AbstractSynonym content,
boolean forwardToReplicas) |
Saves/updates a synonym without replacing
|
default Task |
SyncSynonyms.saveSynonym(String synonymID,
AbstractSynonym content,
boolean forwardToReplicas,
RequestOptions requestOptions) |
Saves/updates a synonym without replacing
|
default Task |
SyncSynonyms.saveSynonym(String synonymID,
AbstractSynonym content,
RequestOptions requestOptions) |
Saves/updates a synonym without replacing it and NOT forwarding it to the slaves
|
default Task |
SyncSettings.setSettings(IndexSettings settings) |
Set settings of this index, and do not forward to replicas
|
default Task |
SyncSettings.setSettings(IndexSettings settings,
RequestOptions requestOptions) |
Set settings of this index, and do not forward to slaves
|
default Task |
SyncSettings.setSettings(IndexSettings settings,
Boolean forwardToReplicas) |
Set settings of this index
|
default Task |
SyncSettings.setSettings(IndexSettings settings,
Boolean forwardToReplicas,
RequestOptions requestOptions) |
Set settings of this index
|
| Modifier and Type | Method | Description |
|---|---|---|
default void |
SyncTasks.waitTask(Task task) |
Wait for the completion of a task, for 100ms
|
default void |
SyncTasks.waitTask(Task task,
long timeToWait) |
Wait for the completion of a task
|
default void |
SyncTasks.waitTask(Task task,
long timeToWait,
RequestOptions requestOptions) |
Wait for the completion of a task
|
default void |
SyncTasks.waitTask(Task task,
RequestOptions requestOptions) |
Wait for the completion of a task, for 100ms
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
TaskIndexing |
|
class |
TaskSingleIndex |
| Modifier and Type | Method | Description |
|---|---|---|
Task |
Task.setAPIClient(APIClient apiClient) |
|
Task |
Task.setIndex(String indexName) |
|
Task |
Task.setTaskID(Long taskID) |
Copyright © 2018. All rights reserved.