Site navigation
an ODBC driver?
Elasticsearch has a JDBC importer that allows it to index any data that can be retrieved through a JDBC connection. For example, you can use the Elasticsearch JDBC plugin with the Easysoft JDBC-Access Gateway to index Microsoft Access data.
If you have not already done so, please register with us to download a fully functional trial version of JDBC-Access Gateway.
Install the JDBC-Access Gateway into the default folder.
For installation instructions, refer to the JDBC-Access Gateway documentation.
PATH
in the System variables list. Make sure that the PATH
contains:
drive:\Program Files\Easysoft Limited\Easysoft JDBC-Excel Gateway32円-Bits\Libs\
Make sure that this folder appears before C:\Program Files\Easysoft Limited\Easysoft JDBC-Excel Gateway\Libs\
in the PATH
.
elasticsearch-jdbc-version/lib
directory. For example:
copy \Program Files\Easysoft Limited\Easysoft JDBC-Access Gateway32円-Bits\Libs\esmdb.jar elasticsearch-jdbc-2.3.4.0\lib
cd elasticsearch-jdbc-2.3.4.0 copy mysql-simple-example.bat ms-access.bat
@echo off set DIR=%~dp0 set LIB=%DIR%..\lib\* set BIN=%DIR%..\bin REM ??? echo {^ "type" : "jdbc",^ "jdbc" : {^ "url" : "jdbc:easysoft:mdb?DBQ=C:/Users/Public/Downloads/Northwind.mdb",^ "user" : "",^ "password" : "",^ "sql" : "select * from suppliers",^ "treat_binary_as_string" : true,^ "index" : "northwind"^ }^ }^ | "C:\Progra~2\Java\jre1.8.0_131\bin\java" -cp "%LIB%" -Dlog4j.configurationFile="%BIN%\log4j2.xml" "org.xbib.tools.Runner" "org.xbib.tools.JDBCImporter"
Replace the Java and MDB path with the correct paths on your system.
elasticsearch-jdbc
batch file.http://localhost:9200/northwind/_search