The JDBC Connection URL for Elasticsearch
Use the following JDBC URL format to connect to an Elasticsearch cluster:
jdbc:evp:elasticsearch:5.6.4://host:port/cluster_name/index_name
where
host is the hostname of the
Elasticsearch server.
port is the port number of the
Elasticsearch server.
cluster_name is the name of the
Elasticsearch cluster.
index_name is the name of the
Elasticsearch index.
For example, you can have the following URL:
jdbc:evp:elasticsearch:5.6.4://localhost:9300/my_cluster/myindex