|
issues with appending results of two queries into one
final GraphTraversal<Vertex, Vertex> query1 = graph.traversal().V();
final GraphTraversal<Vertex, Vertex> query2 = graph.traversal().V();
query1.has(vertexLabel, filterProperty,
final GraphTraversal<Vertex, Vertex> query1 = graph.traversal().V();
final GraphTraversal<Vertex, Vertex> query2 = graph.traversal().V();
query1.has(vertexLabel, filterProperty,
|
By
arjun srivastava <srivasta...@...>
·
#4995
·
|
|
Re: Unable to drop Remote JanusGraph
Hi Nicolas,
How do we know if the graph has been dropped? You said you have to restart the server after doing that. I am doing the same, but I don't want to. Is there any way of clearing all the data,
Hi Nicolas,
How do we know if the graph has been dropped? You said you have to restart the server after doing that. I am doing the same, but I don't want to. Is there any way of clearing all the data,
|
By
Dipen Jain <dip...@...>
·
#4994
·
|
|
Re: Unable to drop Remote JanusGraph
Hi,
I am able to drop remotely the graph using the script:
JanusGraphFactory.drop(graph);[]
After the script, I need to restart janusGraph in order to re-create the graph.
Could you sent the
Hi,
I am able to drop remotely the graph using the script:
JanusGraphFactory.drop(graph);[]
After the script, I need to restart janusGraph in order to re-create the graph.
Could you sent the
|
By
Nicolas Trangosi <nicolas...@...>
·
#4993
·
|
|
Cardinality-aware value mapping? Return SINGLE values without brackets, but LIST values as arrays
This may be more of a Gremlin question but...
I'm looking for a way to return property values in the proper format based on their Cardinality (LIST/SET vs SINGLE, returning them in brackets vs.
This may be more of a Gremlin question but...
I'm looking for a way to return property values in the proper format based on their Cardinality (LIST/SET vs SINGLE, returning them in brackets vs.
|
By
Patrick S <prstr...@...>
·
#4992
·
|
|
start gremlin client failed
I tried to start a gremlin client, but it just stuck here without any other output.
janusgraph version: 0.5.2(download full version)
java version:1.8.0_151
OS: CentOS 7
I tried to start a gremlin client, but it just stuck here without any other output.
janusgraph version: 0.5.2(download full version)
java version:1.8.0_151
OS: CentOS 7
|
By
walker sky <santh...@...>
·
#4991
·
|
|
Unable to drop Remote JanusGraph
Hi,
I'm looking to drop a graph, but the JanusgraphFactory.drop(graph) doesn't work for me. I'm using JAVA to connect to the remote server and load/remove data.
Using the below properties file for
Hi,
I'm looking to drop a graph, but the JanusgraphFactory.drop(graph) doesn't work for me. I'm using JAVA to connect to the remote server and load/remove data.
Using the below properties file for
|
By
Dipen Jain <dip...@...>
·
#4990
·
|
|
Re: Poor read performance on get vertex after creating a new index
Hmm, not sure if that is the issue coz both are considered as seperate objects.
Hmm, not sure if that is the issue coz both are considered as seperate objects.
|
By
sparshneel chanchlani <sparshneel...@...>
·
#4989
·
|
|
Create graph within Python
Hi,
I'd like to create a graph from within a Python script on a remote server that requires authentication. Is this possible?
What I've done so far is create a graph on a remote server that requires
Hi,
I'd like to create a graph from within a Python script on a remote server that requires authentication. Is this possible?
What I've done so far is create a graph on a remote server that requires
|
By
Ben Malburg <bama...@...>
·
#4977
·
|
|
Re: Poor read performance on get vertex after creating a new index
Sparshneel ,
We are planning to add another vertex property with name VID. We will create index on VID and do one time property update for historical data.
This is too check if same property on both
Sparshneel ,
We are planning to add another vertex property with name VID. We will create index on VID and do one time property update for historical data.
This is too check if same property on both
|
By
Tanroop Dhillon <dhillon...@...>
·
#4988
·
|
|
Re: Poor read performance on get vertex after creating a new index
Yeah. I tried the query which you shared. p99 was 100 ms. So we thought of creating edge index too. That screwed up everything. Let me go through the technical limitations link which you shared with
Yeah. I tried the query which you shared. p99 was 100 ms. So we thought of creating edge index too. That screwed up everything. Let me go through the technical limitations link which you shared with
|
By
Tanroop Dhillon <dhillon...@...>
·
#4987
·
|
|
Re: Poor read performance on get vertex after creating a new index
https://docs.janusgraph.org/basics/technical-limitations/ read this
https://docs.janusgraph.org/basics/technical-limitations/ read this
|
By
sparshneel chanchlani <sparshneel...@...>
·
#4986
·
|
|
Re: Poor read performance on get vertex after creating a new index
Delete index on edge graph query to perform better should traverse from vertex using edge
For eg see below query:
g.V().has(‘User’,’id’,’user1’).out(“edgeId”).values() This should be
Delete index on edge graph query to perform better should traverse from vertex using edge
For eg see below query:
g.V().has(‘User’,’id’,’user1’).out(“edgeId”).values() This should be
|
By
sparshneel chanchlani <sparshneel...@...>
·
#4985
·
|
|
Re: Poor read performance on get vertex after creating a new index
Just to reiterate, first I created a composite index on ID with vertex type. Then I created composite index on ID with edge type.
The index on vertex type seems to have stopped working. The problem
Just to reiterate, first I created a composite index on ID with vertex type. Then I created composite index on ID with edge type.
The index on vertex type seems to have stopped working. The problem
|
By
Tanroop Dhillon <dhillon...@...>
·
#4984
·
|
|
Re: Poor read performance on get vertex after creating a new index
I totally agree that elastic search would improve performance. But I am trying to figure out why the performance has degraded after creating edge index
A query on edge ID after creating edge index is
I totally agree that elastic search would improve performance. But I am trying to figure out why the performance has degraded after creating edge index
A query on edge ID after creating edge index is
|
By
Tanroop Dhillon <dhillon...@...>
·
#4983
·
|
|
Re: Poor read performance on get vertex after creating a new index
Actually, IF u are using cassandra as backend, Repair your keyspace to 80%. Also These queries on cassandra on unique key which is part of your partition key, now if you have row by user id it
Actually, IF u are using cassandra as backend, Repair your keyspace to 80%. Also These queries on cassandra on unique key which is part of your partition key, now if you have row by user id it
|
By
sparshneel chanchlani <sparshneel...@...>
·
#4982
·
|
|
Re: Poor read performance on get vertex after creating a new index
Sparshneel,
Just to check if there is any problem with just getting vertex by ID, I am running the basic query as follows
Suppose my ID is "user" and label "USER" (vertex index is defined on
Sparshneel,
Just to check if there is any problem with just getting vertex by ID, I am running the basic query as follows
Suppose my ID is "user" and label "USER" (vertex index is defined on
|
By
Tanroop Dhillon <dhillon...@...>
·
#4981
·
|
|
Re: Poor read performance on get vertex after creating a new index
Tanroop,
These queries on graph ,it is better to use index backend. What is your query can u paste.
Tanroop,
These queries on graph ,it is better to use index backend. What is your query can u paste.
|
By
sparshneel chanchlani <sparshneel...@...>
·
#4980
·
|
|
Re: Poor read performance on get vertex after creating a new index
Sparshneel,
Unique constraint works on vertex type only.
Currently I am not using any indexing backend.
The problem is that 50 ms should have been there even after creating edge instance
Sparshneel,
Unique constraint works on vertex type only.
Currently I am not using any indexing backend.
The problem is that 50 ms should have been there even after creating edge instance
|
By
Tanroop Dhillon <dhillon...@...>
·
#4979
·
|
|
Re: Poor read performance on get vertex after creating a new index
Tanroop,
50ms is still on the higher side, Also would like to know what index backend you are using, If EalsticSearch I would suggest create mixed index, you ID data type should be string and do query
Tanroop,
50ms is still on the higher side, Also would like to know what index backend you are using, If EalsticSearch I would suggest create mixed index, you ID data type should be string and do query
|
By
sparshneel chanchlani <sparshneel...@...>
·
#4978
·
|
|
Re: How much time does it take to reindex data
I ran reindexing. Sharing for others' knowledge. It took me approximately 24 hrs are index 270 million edges
I ran reindexing. Sharing for others' knowledge. It took me approximately 24 hrs are index 270 million edges
|
By
Tanroop Dhillon <dhillon...@...>
·
#4976
·
|