Gremlin-(Server) + ElasticSearch

435 views
Skip to first unread message

doychin doychev

unread,
Apr 21, 2016, 2:05:58 PM4/21/16
to Gremlin-users
Hi All,

I spend the last few day looking into how to get Gremlin and ES talk to each other. 
Could someone help, give pointers on what to do, where to read about it?

Thank you all :)

Dylan Bethune-Waddell

unread,
Apr 21, 2016, 2:16:53 PM4/21/16
to Gremlin-users
Hi,

These projects by rmagen might be good to look at:

Good luck!

Dylan

doychin doychev

unread,
Apr 22, 2016, 9:46:49 AM4/22/16
to Gremlin-users
Hi Dylan,

Thanks for the reply!

I've been looking into these two projects for the past 3 days and I'm nowhere near getting them working.

I went through the beginners tutorial, it was great!
I managed to get Gremlin server to use neo4j and connect to the server via python client, so far so good.

When it comes to working with unipop, however, it get incredibly unclear how to install and work with this project.
I saw that in unipop there is implementation for ES 2.2.0 and I had such great hopes that I'll manage to get it talking to ES.

Please help guys, if you know how to get gremlin-server to install unipop (unipop-elastic2 in particular) I'd be your biggest fan! :)

Stephen Mallette

unread,
Apr 25, 2016, 7:38:48 AM4/25/16
to Gremlin-users
I don't know how unipop works, but the basics for installing virtually any Graph implementation Gremlin Server is pretty much the same:

1. get the jar files for the Graph implementation into Gremlin Server's path
2. set up a properties file to configure the graph and put that in gremlin-server.yaml

Gremlin Server has a helper script to put Graph implementations and their dependencies into its path:

bin/gremlin-server.sh -i 

if you installed neo4j before you likely used it:

bin/gremlin-server.sh -i org.apache.tinkerpop neo4j-gremlin 3.2.0-incubating

Take care to use the right version of TinkerPop with the Graph you are using. I'm not sure if unipop has an "official" release yet, so prior to using the -i command you would have to build unipop yourself to get the artifacts into your local .m2 directory.  At that point make sure that your grapeConfig.xml is configured to use your local .m2:





--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/30c5d512-273e-431c-b712-fdf21aab122f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages