public interface ElasticSearchClient extends Closeable
ElasticMajorVersion getMajorVersion()
void clusterHealthRequest(String timeout) throws IOException
IOExceptionboolean indexExists(String indexName) throws IOException
IOExceptionboolean isIndex(String indexName)
boolean isAlias(String aliasName)
void createStoredScript(String scriptName, Map<String,Object> script) throws IOException
IOExceptionESScriptResponse getStoredScript(String scriptName) throws IOException
IOExceptionvoid createIndex(String indexName, Map<String,Object> settings) throws IOException
IOExceptionvoid updateIndexSettings(String indexName, Map<String,Object> settings) throws IOException
IOExceptionvoid updateClusterSettings(Map<String,Object> settings) throws IOException
IOExceptionMap getIndexSettings(String indexName) throws IOException
IOExceptionvoid createMapping(String indexName, String typeName, Map<String,Object> mapping) throws IOException
IOExceptionIndexMapping getMapping(String indexName, String typeName) throws IOException
IOExceptionvoid deleteIndex(String indexName) throws IOException
IOExceptionvoid bulkRequest(List<ElasticSearchMutation> requests, String ingestPipeline) throws IOException
IOExceptionlong countTotal(String indexName, Map<String,Object> requestData) throws IOException
IOExceptionElasticSearchResponse search(String indexName, Map<String,Object> request, boolean useScroll) throws IOException
IOExceptionElasticSearchResponse search(String scrollId) throws IOException
IOExceptionvoid deleteScroll(String scrollId) throws IOException
IOExceptionvoid addAlias(String alias, String index) throws IOException
IOExceptionCopyright © 2012–2023. All rights reserved.