Import Jedis lib in native script


(Alexander) #1

Hi there. Sorry if i'm type in wrong topic.
Is there any way to include any external libs to elasticsearch? I have this lib(jar file) and simple native script. I wonna get access to this external classes from my native script, but i can't find a way how to import it correctly.(I'm a beginner in Java).

If anyone have worked example of it import it will be nice, or any explanations how to do this. Thanks.

P.S.
Sorry for my English =)


(David Pilato) #2

Your script is added as a plugin, right?

If so you just need to add other jars with your script.

In the same zip file / same dir.


(Alexander) #3

I just need to add jar to my existing sript.


(system) #4