例如: 使用es的plugin插件進行安裝html
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/elasticsearch-sql-5.4.1.0.zipnode
查看對應版本:https://github.com/NLPchina/elasticsearch-sql/releasesgit
解壓:unzip es-sql-site-standalone.zipgithub
cd site-serversql
npm install express --saveexpress
node node-server.js &npm
默認端口 8080json
更改端口elasticsearch
/es-sql-site/site-server/site_configuration.json插件
路徑: ip:port
按照官網上進行安裝es-sql,訪問http://localhost:8080後,在SQL QUERY裏面請求SELECT * FROM test 可是提示
"<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /_sql</pre>\n</body>\n</html>\n"
https://github.com/NLPchina/elasticsearch-sql/issues/450