Questions tagged [gremlin-server]

Gremlin Server is a component of Apache TinkerPop that allows for the remote execution of Gremlin-based traversals.

516 questions
2
votes
1 answer

Gremlin Java 3.4 withRemote deprecated

So prior to gremlin java 3.4 I used the following code to connect to a remote graph: Cluster.Builder builder = Cluster.build(); builder.addContactPoint(GREMLIN_SERVER); builder.port(GREMLIN_PORT); builder.serializer(new…
Pistacchio
  • 445
  • 4
  • 15
2
votes
1 answer

Gremlin Python - How to get ID from valueMap

I am fetching all the values from my graph into a list called nodes: nodes = g.V().valueMap(True).toList() For each node, I would like to get the id but I don't know how. E.g. I have a field called 'name'. To get name of the first vertex I would do…
Saleem
  • 92
  • 2
  • 12
2
votes
1 answer

How to decouple multiple graph instances from each other in JanusGraph

I'm trying to create multiple graph instances in Janusgraph, but they all seem to have the same reference to one another, and so any action taken on one affects the others (see example below). I want to have these graphs setup as separate instances,…
Ian
  • 3,605
  • 4
  • 31
  • 66
2
votes
1 answer

Could not locate method: DefaultGraphTraversal.to with neo4j plugin and gremlin server

I am using the gremlin plugin for nodejs, communicating to gremlin server with an embedded neo4j graph. I am able to query and create vertices, but unable to create any edges due to an error "Could not locate method: DefaultGraphTraversal.to." Any…
B Bailey
  • 21
  • 2
2
votes
1 answer

Text and String search in clojure ogre to query Janusgraph - Not able to find any function or method

I'm using Clojure Ogre to query Janusgraph database from my clojure application. Everything went well until I got a requirement for text search. In gremlin shell I can able to search via regular expression using below syntax, g.V().has('name',…
Shr4N
  • 435
  • 3
  • 18
2
votes
1 answer

What will happen to node edges after we delete the node in JanusGraph?

I want to delete a node from a graph in JanusGraph but I don't know what will happen to its edges? Will they be orphaned? or will be deleted?
youhans
  • 6,101
  • 4
  • 27
  • 39
2
votes
1 answer

Gremlin query via HTTP is extremely slow

So, I'm running two very simple gremlin queries through both the Gremlin Console and via an HTTP request (issued from the same machine as the Gremlin Server resides on). The queries look like this: First query: console: g.V(127104, 1069144, 590016,…
Glennie Helles Sindholt
  • 12,816
  • 5
  • 44
  • 50
2
votes
1 answer

JanusGraph fails to create and open graph using ConfiguredGraphFactory() and HBase as storage backend

I am using JanusGraph to create multiple graphs and store in HBase. The intention is to have different sets of graphs for different projects. Eg. Project1 has [proj1_graph1... proj1_graphN] and project 2 has [proj2_graph1...proj2_graphM]. Referring…
twfx
  • 1,664
  • 9
  • 29
  • 56
2
votes
1 answer

Obtain the version of a Gremlin Server

Is there any way to obtain the Gremlin version used by a server? If none exists, does it make sense for Gremlin open source community to include a mechanism to programmatically expose that? Some options: 1. g.version() 2.…
The-Big-K
  • 2,672
  • 16
  • 35
2
votes
1 answer

Can we call GET/POST ajax call from Pentaho data integration spoon

I am using Django, Neo4j, and pentaho. In Pentaho Data Integration, we can use the javascript for any transaction. My question is that can we call ajax from the PDI javasticpt to django server method. Actually i want to send success msg to server…
2
votes
1 answer

Using gremlin-python Janus for social networking application

I'm getting started with graph databases. I want to migrate a social networking application from sql to Janus Graph database. I plan to build the application using Python Django framework. I also plan to scale the application using using IBM's…
2
votes
1 answer

gremlin server is not starting with orientDB

Summary gremlin server not getting started with orientDB description I am trying to connected gremlin server with orient db but not getting success. while i am trying to start the server it shows Graph [graph] was successfully configured via…
Akshay
  • 359
  • 1
  • 3
  • 14
2
votes
2 answers

AWS Neptune Host did not respond in a timely fashion - check the server status and submit again

Ive went through the whole start-up tutorial and connect to the tinkerpop3 server remotely from an EC2 that is in the same VPC and get the error gremlin> g.addV('person').property(id, '1').property('name', 'marko') Host did not respond in a timely…
2
votes
0 answers

find minimum length between two node types in gramlin

I am trying to find out the minimum length between two node type vertex. Let's assumed there are big data set of different node types. M trying to make a generic query, which will work for different node types as well. I am using python3, gremlin
Ravindra Gupta
  • 1,256
  • 12
  • 42
2
votes
1 answer

TinkerPop: Multi-Level search to multiple - vertex types

Sample Graph: Tinker Modern Query: Find all direct friends (person Vertex) of Marko and (union) all software in second hop. Failed attempts: Generic Query for first level…
Srinath Ganesh
  • 2,496
  • 2
  • 30
  • 60