public class PluginClient extends Object
| Constructor and Description |
|---|
PluginClient(org.elasticsearch.client.Client client) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alias(Map<String,String> aliases)
Create an alias for a pattern
|
org.elasticsearch.action.index.IndexResponse |
createDocument(String index,
String type,
String id,
String source) |
boolean |
documentExists(String index,
String type,
String id) |
Set<String> |
getIndicesForAlias(String alias)
Retrieve the set of indices for a given alias
|
boolean |
indexExists(String index) |
public org.elasticsearch.action.index.IndexResponse createDocument(String index, String type, String id, String source)
public boolean indexExists(String index)
public Set<String> getIndicesForAlias(String alias)
alias - The alias to lookupCopyright © 2015–2017 Red Hat. All rights reserved.