janusgraph Questions
3
Index status is installed. How to change the status to registered, then disabled, to remove it?
GraphTraversalSource g = janusGraph.traversal();
JanusGraphManagement janusGraphManagement = janusGra...
Oviform asked 24/7, 2017 at 6:11
1
I can't understand how to get a JanusGraphManagement instance from a graph created with the ConfiguredGraphFactory.
I tried doing something like this:
JanusGraphFactory.Builder config = JanusGr...
Stonecutter asked 22/8, 2019 at 15:35
2
Solved
I find the following code to create edge if it has not existed yet.
g.V().hasLabel("V1")
.has("userId", userId).as("a")
.V().hasLabel("V1").has("userId", userId2)
.coalesce(
bothE("link").where(o...
Landwaiter asked 19/1, 2019 at 10:5
3
Solved
g.V()
.has('atom', '_value', 'red').fold()
.coalesce(unfold(), addV('atom').property('_value', 'red')).as('atom')
.out('view').has('view', '_name', 'color').fold()
.coalesce(unfold(), addE('vie...
Plossl asked 16/12, 2020 at 8:59
1
We are planning to use JanusGraph with ScyllaDb as our storage backend and elasticsearch as our index backend in production. ElasticSearch indexes the data stored in ScyllaDB, and we are not contro...
Subinfeudation asked 11/2, 2021 at 19:14
1
I'm using JanusGraph with ElasticSearch and Cassandra.
My question is how JanusGraph stores the data when I create a new entity in case that I'm using two databases (JanusGraph and ElasticSearch)
I...
Adriene asked 13/1, 2021 at 13:36
6
I want to use Java API to manipulate graph on a remote server, the server actually hosts in localhost. The code I use to connect server is:
JanusGraphFactory.Builder b = JanusGraphFactory.build();...
Desertion asked 14/8, 2017 at 11:48
2
I am a newbie to the gremlin. I am trying to get some random vertices based on some condition. But if I am using sample method with some mathematical computation it is not working. But if I give in...
Zeiger asked 3/9, 2020 at 7:30
2
Solved
I need to load lots of vertices and edges to JanusGraph with Cassandra backend from other storage. I've read about bulk loading and Spark configuring (https://docs.janusgraph.org/advanced-topics/bu...
Laceylach asked 3/7, 2020 at 19:38
2
Are graph databases more performant than relational databases for highly connected acyclic graph data?
I need to significantly speed up my query results and hope that graph databases will be the an...
Kentiga asked 27/7, 2020 at 9:13
2
Solved
I'm currently using TinkerPop java APIs for graph traversal. Currently I had to create a duplicate copy of the same traversal to compute the count.
Long allUsersCount = gt.V().hasLabel("user").has...
Mutual asked 3/6, 2020 at 15:26
4
Solved
I had worked on relational database; but now want to learn about graph database. I came to know that these two are graph database. What is difference between these two databases. What should we pre...
Box asked 27/7, 2017 at 10:6
2
In our graph, there are a lot of vertices which have more than 100k of outgoing edges. I would like to know what are the approaches to handle all palettes of situation which come out of this.
Let...
Uticas asked 15/1, 2019 at 9:12
1
I am using embedded janusgraph in my java backend my code depends on janusgraph instanciated from graph = JanusGraphFactory.open(conf)
AFAIK this connects to Cassandra and elastic search directly...
Eschatology asked 8/3, 2019 at 8:26
0
I have a high level code like this.
MethodXyz() {
updateVertex(A, props1)
commit
// some other code
updateVertex(A, props2)
commit
// do something else - long running
}
This method is called fr...
Moonshiner asked 16/1, 2020 at 7:7
1
Solved
I have a set up where I am using the gremlin-core library to query a remote Janusgraph server. The data size is moderate for now but will increase in the future.
A few days ago, I saw the "Max fra...
Bib asked 3/9, 2019 at 12:30
2
Solved
I'm querying a database in Javascript where I get back a Map object. The problem is that the key of some entry in the map is an object, an EnumValue to be precise.
I can't seem to find a way to di...
Haste asked 16/6, 2019 at 17:24
1
Solved
So I'm trying to deploy 2 instances of Janusgraph (v 0.3.1) to insert data in the same keyspace of ScyllaDb backend. To do that i deploy 2 janusgraph containers with docker. The first one is starti...
Pointer asked 10/4, 2019 at 13:38
1
Solved
I am following this blog:
https://developer.ibm.com/dwblog/2018/janusgraph-composite-mixed-indexes-traversals/
code:
gremlin> graph.tx().rollback()
==>null
gremlin> mgmt = graph.openMana...
Dehiscent asked 21/1, 2019 at 9:34
1
Solved
I'm using JanusGraph with the standard python gremlin binding, and I'd like to set a float[] property on a vertex/edge. However, the Tinkerpop driver for Python doesn't seem able to do so.
For exa...
Sunbonnet asked 5/12, 2018 at 4:16
2
Solved
Just started out with Tinkerpop and Janusgraph, and I'm trying to figure this out based on the documentation.
I have three datasets, each containing about 20 milions rows (csv files)
There is a s...
Realism asked 13/11, 2018 at 20:2
1
Solved
I get the following error after adding an edge in Java:
16:40:44.267 [gremlin-driver-loop-1] WARN org.apache.tinkerpop.gremlin.driver.MessageSerializer - Response [PooledUnsafeDirectByteBuf(ri...
Cochran asked 8/11, 2018 at 6:52
1
Solved
I Have created a graph using gremlin console
gremlin> ConfiguredGraphFactory.graphNames
==>MYGRAPH
gremlin> ConfiguredGraphFactory.getConfiguration('MYGRAPH')
==>storage.backend=cql
==...
Inorganic asked 7/11, 2018 at 8:12
1
Solved
I'm using gremlinpython to access the data in Janusgraph, but it is throwing an exception whereas the data is accessible from Gremlin shell.
Here is the Python code which I'm running remotely:
fr...
Chamade asked 5/10, 2018 at 10:38
1
I get the this error in gremlin console
cegprakash@cegprakash:~/workspace/janusgraph-0.2.1-hadoop2$ ./bin/gremlin.sh
\,,,/
(o o)
-----oOOo-(3)-oOOo-----
plugin activated: janusgraph.imports
pl...
Guyguyana asked 30/7, 2018 at 13:14
1 Next >
© 2022 - 2025 — McMap. All rights reserved.