[DOCS] Polish

Original commit: elastic/x-pack-elasticsearch@cc82fb428e
This commit is contained in:
Costin Leau 2018-02-02 16:58:39 +02:00
parent f66e01369a
commit d51a7192af
2 changed files with 6 additions and 5 deletions

View File

@ -2,8 +2,9 @@
[[sql-jdbc]] [[sql-jdbc]]
== SQL JDBC == SQL JDBC
Elasticsearch's SQL jdbc driver is a fully featured JDBC driver Elasticsearch's SQL jdbc driver is a rich, fully featured JDBC driver for Elasticsearch.
for Elasticsearch. It is Type 4 driver, meaning it is a platform independent, stand-alone, Direct to Database,
pure Java driver that converts JDBC calls to Elasticsearch SQL.
TODO add example of resolving the artifact in maven and gradle. TODO add example of resolving the artifact in maven and gradle.
@ -15,7 +16,7 @@ by JDBC, namely `java.sql.Driver` and `DriverManager`:
include-tagged::{jdbc-tests}/JdbcIntegrationTestCase.java[connect-dm] include-tagged::{jdbc-tests}/JdbcIntegrationTestCase.java[connect-dm]
-------------------------------------------------- --------------------------------------------------
<1> The server and port on which Elasticsearch is listening for <1> The server and port on which Elasticsearch is listening for
HTTP traffic. The port is usually 9200. HTTP traffic. The port is by default 9200.
<2> Properties for connecting to Elasticsearch. An empty `Properties` <2> Properties for connecting to Elasticsearch. An empty `Properties`
instance is fine for unsecured Elasticsearch. instance is fine for unsecured Elasticsearch.
@ -25,7 +26,7 @@ or `javax.sql.DataSource` through
include-tagged::{jdbc-tests}/JdbcIntegrationTestCase.java[connect-ds] include-tagged::{jdbc-tests}/JdbcIntegrationTestCase.java[connect-ds]
-------------------------------------------------- --------------------------------------------------
<1> The server and port on which Elasticsearch is listening for <1> The server and port on which Elasticsearch is listening for
HTTP traffic. The port is usually 9200. HTTP traffic. By default 9200.
<2> Properties for connecting to Elasticsearch. An empty `Properties` <2> Properties for connecting to Elasticsearch. An empty `Properties`
instance is fine for unsecured Elasticsearch. instance is fine for unsecured Elasticsearch.

View File

@ -19,7 +19,7 @@ indices and return tabular results. There are four main components:
Accepts SQL in a JSON document and translates it into a native Accepts SQL in a JSON document and translates it into a native
Elasticsearch query and returns that. Elasticsearch query and returns that.
<<sql-cli,CLI>>:: <<sql-cli,CLI>>::
Command line application that connects to Elasticsearch to excute Command line application that connects to Elasticsearch to execute
SQL and print tabular results. SQL and print tabular results.
<<sql-jdbc,JDBC>>:: <<sql-jdbc,JDBC>>::
A JDBC driver for Elasticsearch. A JDBC driver for Elasticsearch.