elasticsearch-lua icon indicating copy to clipboard operation
elasticsearch-lua copied to clipboard

Is this repo still supported?

Open yaneclev opened this issue 7 years ago • 15 comments

If yes, I am using 5.5.1 and creating index is hanging from some reason.Can you please test it at your side.

yaneclev avatar Sep 06 '17 17:09 yaneclev

It hangs here.... function Connection:buildQuery(params)

yaneclev avatar Sep 06 '17 18:09 yaneclev

Tested it on 5.2.0 and its the same

yaneclev avatar Sep 06 '17 18:09 yaneclev

I am not sure there is anyone maintaining it right now. Unfortunately not enough time. @DhavalKapil ?

pmusa avatar Sep 07 '17 12:09 pmusa

@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 avatar Sep 07 '17 16:09 DhavalKapil

@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 avatar Oct 20 '17 13:10 neilcook

@neilcook You're most welcome! I'll be happy to accept any contribution you want to make.

DhavalKapil avatar Oct 21 '17 04:10 DhavalKapil

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.

neilcook avatar Oct 23 '17 08:10 neilcook

@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

neilcook avatar Jul 09 '18 16:07 neilcook

FYI I now maintain a fork of this code at https://github.com/PowerDNS/elasticsearch-lua, plus a luarock neilcook/elasticsearch-lua.

neilcook avatar Jan 26 '19 09:01 neilcook

@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 avatar Aug 14 '19 14:08 nicolasfranck

@nicolasfranck How are you installing it? It installs fine for me.

Also, why is it being installed under openresty directly?

neilcook avatar Aug 14 '19 14:08 neilcook

@neilcook I've built luarocks against luajit that ships with openresty:

https://openresty.org/en/using-luarocks.html

nicolasfranck avatar Aug 14 '19 14:08 nicolasfranck

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

nicolasfranck avatar Aug 14 '19 14:08 nicolasfranck

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.

neilcook avatar Aug 14 '19 14:08 neilcook

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

nicolasfranck avatar Aug 14 '19 19:08 nicolasfranck