elasticsearch-lua
elasticsearch-lua copied to clipboard
Is this repo still supported?
If yes, I am using 5.5.1 and creating index is hanging from some reason.Can you please test it at your side.
It hangs here.... function Connection:buildQuery(params)
Tested it on 5.2.0 and its the same
I am not sure there is anyone maintaining it right now. Unfortunately not enough time. @DhavalKapil ?
@yaneclev @pmusa I'll look into it this weekend. I'll let you know whether I'll be able to fix this or not.
@DhavalKapil - given that I've started using this Lua module quite a lot, I'm happy to volunteer to help maintain it. I'm using it successfully with ES 5.6, but it probably needs some love to keep it working as ES continues to evolve.
@neilcook You're most welcome! I'll be happy to accept any contribution you want to make.
Great, thanks!
On 21 Oct 2017, at 05:08, Dhaval Kapil [email protected] wrote:
@neilcook https://github.com/neilcook You're most welcome! I'll be happy to accept any contribution you want to make.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DhavalKapil/elasticsearch-lua/issues/30#issuecomment-338362317, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWv2PgTMjkJ1JNstQempVpo9s-a9V3Bks5suW5agaJpZM4POv4A.
@DhavalKapil - any chance of making me a contributor to this so that I can merge improvements? ES 6 is breaking a lot of things, including this code, and it seems like you're not working on this anymore
FYI I now maintain a fork of this code at https://github.com/PowerDNS/elasticsearch-lua, plus a luarock neilcook/elasticsearch-lua.
@neilcook rock elasticsearch-lua cannot be installed anymore. I'm getting this error during installation:
cp: src/elasticsearch/endpoints/TermVectors.lua: No such file or directory
Error: Build error: Failed installing src/elasticsearch/endpoints/TermVectors.lua in /usr/local/Cellar/openresty/1.15.8.1/luajit//lib/luarocks/rocks/elasticsearch-lua/1.0.3-1/lua/elasticsearch/endpoints
@DhavalKapil sorry for reporting this issue here, but the repo https://github.com/PowerDNS/elasticsearch-lua does not allow issues, so I didn't see another way.
@nicolasfranck How are you installing it? It installs fine for me.
Also, why is it being installed under openresty directly?
@neilcook I've built luarocks against luajit that ships with openresty:
https://openresty.org/en/using-luarocks.html
a local install does not make a difference:
$ luarocks --local install elasticsearch-lua
cp: src/elasticsearch/endpoints/TermVectors.lua: No such file or directory
Error: Build error: Failed installing src/elasticsearch/endpoints/TermVectors.lua in /Users/njfranck/.luarocks//lib/luarocks/rocks/elasticsearch/1.0.0-1/lua/elasticsearch/endpoints
It says no such file, so just take a look at the rock file. For example I just downloaded it: % luarocks download elasticsearch-lua And looking at the rock file (which is just a zip file) the file src/elasticsearch/endpoints/TermVectors.lua is clearly there. I suspect there is something wrong with your luarocks install.
Ok, I reinstalled both openresty and luarocks, and now it installs correctly.
As nothing has changed to this rock, I suspect that a more recent luarocks version was expected? I saw the same issue here:
https://github.com/luarocks/luarocks/issues/402 (where I read that they would fix it)
and here
https://github.com/torch/cwrap/issues/1