All Questions
Tagged with janusgraph groovy
14
questions
1
vote
0
answers
52
views
gremlin python open janusgraph database using submit()
I was trying to switch to different database on runtime in gremlin_python. To do this, I used JanusGraphFactory.open() to open different configuration. Because gremlin_python does not have ...
1
vote
0
answers
180
views
Janusgraph Is Not Working Due To Serialization Problem
Why are serialization errors still occurring?
I've been trying to get JanusGraph working with much difficulties.
I've configured JanusGraph server using the following:
host: 0.0.0.0
port: ...
0
votes
1
answer
398
views
No such property for variable in groovy script for janusgraph
So I was test groovy in janusgraph(I want to load csv dataset in in-memory server) and i don't understand, why you can see variables in scirpt? How I need to create variable so I can use it in groovy ...
1
vote
1
answer
90
views
Gremlin to retrieve multiple properties based on its metaproperties
I need to retrieve the vertex based on the metaproperties of several properties.
p.addV('v01').
property(list, 'p01', 'p01value01', 'modified_by', 'user01', 'modified_date', '12/12/9999')
...
1
vote
1
answer
394
views
Gremlin to update meta properties of existing vertex
I am create a vertex with its properties. Each property will have its meta-properties
// Define schema in Gemlin Console
// Create vertex
mgmt.makeVertexLabel('v01').make()
// Create properties
mgmt....
0
votes
0
answers
29
views
Gremlin groovy to JavaScript [duplicate]
I'm using Gremlin (JS library) to communicate with JanusGraph. I have the following groovy code which works well in the groovy console:
g.V().project('id', 'data').by(id).by(valueMap('value').by(...
0
votes
1
answer
243
views
Index created successfully, but won't reindex new data
I'm totally bamboozled, since this code was working previously.
I'm trying to create a Mixed Edge index on an edge property in my graph (trxn_dt_int).
It shows, from the output of mgmt.printSchema()...
2
votes
1
answer
988
views
Using ConfiguredGraphFactory in a startup script fails
I am following the https://docs.janusgraph.org/basics/configured-graph-factory/#overview guide as I understand it.
I want to run the gremlin-server and setup a graph.
I want to execute a groovy ...
0
votes
1
answer
435
views
How to build index in a single groovy script?
When I have updated my janus graph schema, I have created a property key but forgot to build the index.If I run same piece of code with this buildIndex of that property then my data will get redundant ...
0
votes
1
answer
644
views
Find every paths in any direction with specified labels and hops
I have the following graph:
Vertices and edges have been added like this:
def graph=ConfiguredGraphFactory.open('Baptiste');def g = graph.traversal();
graph.addVertex(label, 'Group', 'text', 'BNP ...
15
votes
0
answers
2k
views
JanusGraph BulkLoading CSV with ScriptInputFormat
I am trying to load a CSV file into a JanusGraph.
As I understand it, I need to create my graph and the schema, then use the BulkLoaderVertexProgram with my own custom groovy script to parse a csv ...
1
vote
1
answer
1k
views
How to add janus graph imports to gremlin groovy script engine?
I use GremlinGroovyScriptEngine, which is part of gremlin-server to evaluate string gremlin queries - like this:
final ScriptEngine engine = new GremlinGroovyScriptEngine();
engine.eval("g.V()....
1
vote
2
answers
682
views
Tinkerpop Gremlin server MissingPropertyException for SparkGraphComputer in remote mode
I am new to tinkerpop, gremlin and groovy.
I have configured a Tinkerpop Gremlin Server and Console [v3.2.3] with verified integration with HDFS and Spark.
Next I try to execute below code using ...
4
votes
2
answers
1k
views
JanusGraph output subgraph as GraphSON error
I am trying to output a subgraph as GraphSON in the Gremlin shell with JanusGraph.
TinkerPop documentation for reference:
http://tinkerpop.apache.org/docs/current/reference/#graphson-reader-writer
...