New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid index name [_sql] #29
Comments
What is the query you were trying to make? |
Simple match_all query Le Wed Jan 07 2015 at 19:03:52, Omer Shelef notifications@github.com a
|
"SELECT * FROM [myindex] LIMIT 100;" Le Thu Jan 08 2015 at 21:55:38, Thierry LEFORESTIER kali.seo@gmail.com a
|
Elasticsearch-sql use MySQL dialect. square brackets is invalid in MySQL. if your index name is "myindex" just drop the brackets:
if your index name is "[myindex]". use backticks:
|
Quoting doesn't seem to help (ES version 1.4.2)
and the result is always the same (with and without quotes):
|
What version of elasticsearch-sql are you using? |
1.2 |
I didn't set bracket, it was just to give the index example ^^. Sorry Le Fri Jan 16 2015 at 10:54:59, Ville-Matti Riihikoski <
|
I am trying to reproduce your problem. I installed elasticsearch 1.4.2 and elasticsearch-sql 1.2. Are you trying to query using the web frontend or the rest api? if you are using rest, what is the exact url you used? what operating system are you using? EDIT: |
Yes. I was using web frontend and the jar was missing. Re-installed and now everything is working as expected. Thank you for a great plugin |
Happy to help. Do you have any idea why this jar was missing? you installed the plugin in a different way? |
Unfortunetly I don't. I used the one liner from the frontpage to install. |
Hi, i'm also experiencing this error, although in my sql plugin folder the .jar file exists. I'm using ElasticSearch 1.4.2 and the 1.3 version of the plugin. Do you have any idea how I could get to fix this? Thanks!! |
Hi, The same problem. File elasticsearch-sql-1.3.1.jar exists. Error message: I tried ElasticSearch 1.4.4 and 1.5.0 - result is the same. Additional info: Thank you, |
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 |
Unable to make a query.
My ElasticSearch version is 1.4.1
The text was updated successfully, but these errors were encountered: