更多内容 参见www.weimasoft.com .
安装jdbc插件https://github.com/jprante/elasticsearch-jdbc
./bin/plugin --install jdbc --url http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-river-jdbc/1.5.0.0/elasticsearch-river-jdbc-1.5.0.0.zip
下载mysql jdbc驱动
curl -o mysql-connector-java-5.1.33.zip -L'http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.33.zip/from/http://cdn.mysql.com/'
解压下载的mysql驱动,把mysql-connector-java-5.1.33-bin.jar放到elasticsearch下的plugins下的jdbc文件夹下。