Code Monkey home page Code Monkey logo

Comments (10)

ansjsun avatar ansjsun commented on May 22, 2024

1.3.6 尝试使用1.3.2的版本

from elasticsearch-sql.

bigbo avatar bigbo commented on May 22, 2024

@ansjsun 请问,以后这个插件有更新嘛?能支持到最新的ES版本不?

from elasticsearch-sql.

ansjsun avatar ansjsun commented on May 22, 2024

插件版本。。。是和es版本一致。

from elasticsearch-sql.

bigbo avatar bigbo commented on May 22, 2024

@ansjsun ,我尝试了用1.3.2版本的插件,结果还是报错啊:
Error: {"error":"NoClassDefFoundError[org/durid/sql/ast/statement/SQLSelectQuery]; nested: ClassNotFoundException[org.durid.sql.ast.statement.SQLSelectQuery]; ","status":500}
能指点下什么原因嘛?

from elasticsearch-sql.

ansjsun avatar ansjsun commented on May 22, 2024

把你的sql语句发出来。。。。

from elasticsearch-sql.

bigbo avatar bigbo commented on May 22, 2024

SELECT * FROM kibana-init limit 10 ;

from elasticsearch-sql.

ansjsun avatar ansjsun commented on May 22, 2024

好像表名称不能有减号。 sql解析会认为是运算符

from elasticsearch-sql.

bigbo avatar bigbo commented on May 22, 2024

那表名有-号的话这种情况怎么写sql语句?

from elasticsearch-sql.

ansjsun avatar ansjsun commented on May 22, 2024

不知道饿。。。加个
SELECT * FROM "kibana-init" limit 10 试试

from elasticsearch-sql.

dpj2010 avatar dpj2010 commented on May 22, 2024

Elasticsearch 2.3.1

./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.3.1.0/elasticsearch-sql-2.3.1.0.zip
After doing this, you need to restart the Elasticsearch server. Otherwise you may get errors like Invalid index name [sql], must not start with '']; ","status":400}.

需要重启

from elasticsearch-sql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.