|
Re: Query requires iterating over all vertices
Looks like this is because you are indexing your property as text. See https://docs.janusgraph.org/index-backend/text-search/#full-text-search_1
I believe the query has(“country", P.neq(null)) would
Looks like this is because you are indexing your property as text. See https://docs.janusgraph.org/index-backend/text-search/#full-text-search_1
I believe the query has(“country", P.neq(null)) would
|
By
Boxuan Li
·
#6038
·
|
|
Re: Query requires iterating over all vertices
I've tried with the graph of the gods (steps shown below), and the indexes seems to be persisted and working fine (don't see any warning when querying by name or age). So I guess I have some issue
I've tried with the graph of the gods (steps shown below), and the indexes seems to be persisted and working fine (don't see any warning when querying by name or age). So I guess I have some issue
|
By
Laura Morales <lauretas@...>
·
#6037
·
|
|
Re: Query requires iterating over all vertices
$ ./bin/gremlin.sh
gremlin> graph = JanusGraphFactory.open("/graph/graph.properties")
gremlin> g = graph.traversal()
gremlin> g.V().has("country",
$ ./bin/gremlin.sh
gremlin> graph = JanusGraphFactory.open("/graph/graph.properties")
gremlin> g = graph.traversal()
gremlin> g.V().has("country",
|
By
Laura Morales <lauretas@...>
·
#6036
·
|
|
Re: Query requires iterating over all vertices
Can you show the profile output? Just add .profile() to the end of your query.
「Laura Morales <lauretas@...>」在 2021年7月23日 週五,下午4:13 寫道:
Can you show the profile output? Just add .profile() to the end of your query.
「Laura Morales <lauretas@...>」在 2021年7月23日 週五,下午4:13 寫道:
|
By
Boxuan Li
·
#6035
·
|
|
Re: Query requires iterating over all vertices
I was able to open my lucene folder with a tool called "luke" for peeking at the data, and all the "country" values seems to be in there. I assume by looking at this that the index was created and
I was able to open my lucene folder with a tool called "luke" for peeking at the data, and all the "country" values seems to be in there. I assume by looking at this that the index was created and
|
By
Laura Morales <lauretas@...>
·
#6034
·
|
|
Re: Query requires iterating over all vertices
Unfortunately this does not seem to remove the warning.
WARN org.janusgraph.graphdb.transaction.StandardJanusGraphTx - Query requires iterating over all vertices [(country <> null)]. For better
Unfortunately this does not seem to remove the warning.
WARN org.janusgraph.graphdb.transaction.StandardJanusGraphTx - Query requires iterating over all vertices [(country <> null)]. For better
|
By
Laura Morales <lauretas@...>
·
#6033
·
|
|
Re: Query requires iterating over all vertices
Try rewriting your query as:
` g.V().has("country", P.neq(null)).values("country").dedup().order().limit(10)`
FYI starting from the upcoming 0.6.0 release, has("country") will leverage the mixed
Try rewriting your query as:
` g.V().has("country", P.neq(null)).values("country").dedup().order().limit(10)`
FYI starting from the upcoming 0.6.0 release, has("country") will leverage the mixed
|
By
Boxuan Li
·
#6032
·
|
|
Re: Query requires iterating over all vertices
My ".properties" file:
gremlin.graph=org.janusgraph.core.JanusGraphFactory
storage.backend=berkeleyje
storage.directory=/graph/db
index.search.backend=lucene
My ".properties" file:
gremlin.graph=org.janusgraph.core.JanusGraphFactory
storage.backend=berkeleyje
storage.directory=/graph/db
index.search.backend=lucene
|
By
Laura Morales <lauretas@...>
·
#6031
·
|
|
Re: Query requires iterating over all vertices
Hi, it means your query is not leveraging your indexes. Can you provide the query and also the output of `mgmt.printIndexes()` (or how you created the indices)?
Hi, it means your query is not leveraging your indexes. Can you provide the query and also the output of `mgmt.printIndexes()` (or how you created the indices)?
|
By
Boxuan Li
·
#6030
·
|
|
Query requires iterating over all vertices
I was able to create a "Composite Index", but I cannot seem to be able to create a "Mixed Index" with berkeleyjs and lucene.
What I've done:
- I've modified the ".properties" file
I was able to create a "Composite Index", but I cannot seem to be able to create a "Mixed Index" with berkeleyjs and lucene.
What I've done:
- I've modified the ".properties" file
|
By
Laura Morales <lauretas@...>
·
#6029
·
|
|
Tinkerpop 3.4.1 with Hadoop3
Hi All,
I am trying to run SparkGraphComputer using tinkerpop 3.4.1 on Spark2.3 having Hadoop3 but getting issues, not able to connect with Spark.
As per
Hi All,
I am trying to run SparkGraphComputer using tinkerpop 3.4.1 on Spark2.3 having Hadoop3 but getting issues, not able to connect with Spark.
As per
|
By
anjanisingh22@...
·
#6028
·
|
|
Re: Could not execute operation due to backend exception
Thank you a lot for the help, I could not figure out what the problem was!
Is it normal that the requirement is so high? 5GB of space for an empty database? And can it be changed somehow with some
Thank you a lot for the help, I could not figure out what the problem was!
Is it normal that the requirement is so high? 5GB of space for an empty database? And can it be changed somehow with some
|
By
Laura Morales <lauretas@...>
·
#6027
·
|
|
Re: Could not execute operation due to backend exception
Hi Laura,
Down the stacktrace you can note:
After some googling you can conclude that your JanusGraph disk is short of 4.7 GB of space for running JanusGraph with BerkeleyjeDB. Maybe check the logs
Hi Laura,
Down the stacktrace you can note:
After some googling you can conclude that your JanusGraph disk is short of 4.7 GB of space for running JanusGraph with BerkeleyjeDB. Maybe check the logs
|
By
hadoopmarc@...
·
#6026
·
|
|
Re: What are the implications of using Object.class property type?
Hi Laura,
A similar question was posed recently:
https://lists.lfaidata.foundation/g/janusgraph-users/message/5986
So,
1. Only for the CompositeIndex
2. In your specific example, you could use the
Hi Laura,
A similar question was posed recently:
https://lists.lfaidata.foundation/g/janusgraph-users/message/5986
So,
1. Only for the CompositeIndex
2. In your specific example, you could use the
|
By
hadoopmarc@...
·
#6025
·
|
|
Could not execute operation due to backend exception
What am I doing wrong? I cannot get Janus to start.
$ java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~deb9u1-b09)
OpenJDK 64-Bit Server VM (build
What am I doing wrong? I cannot get Janus to start.
$ java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~deb9u1-b09)
OpenJDK 64-Bit Server VM (build
|
By
Laura Morales <lauretas@...>
·
#6024
·
|
|
What are the implications of using Object.class property type?
What are the practical implications of using Object.class as a property type, instead of the other native types (eg. String.class, Integer.class, etc.)?
IIUC Object.class means that a property can
What are the practical implications of using Object.class as a property type, instead of the other native types (eg. String.class, Integer.class, etc.)?
IIUC Object.class means that a property can
|
By
Laura Morales <lauretas@...>
·
#6023
·
|
|
Re: Bulk loading
If I setup an empty graph with persistent storage, for example berkeley (thus not an in-memory graph), can I load a graphml/graphson file and have it all added to the
If I setup an empty graph with persistent storage, for example berkeley (thus not an in-memory graph), can I load a graphml/graphson file and have it all added to the
|
By
Laura Morales <lauretas@...>
·
#6022
·
|
|
Re: JanusGraph combined with Belief Propagation
Hi,
You can first try to write a custom VertexProgram for belief propagation with Apache TinkerPop. A custom VertexProgram supports the massive message parsing needed for belief propagation.
If it
Hi,
You can first try to write a custom VertexProgram for belief propagation with Apache TinkerPop. A custom VertexProgram supports the massive message parsing needed for belief propagation.
If it
|
By
hadoopmarc@...
·
#6021
·
|
|
Re: Bulk loading
Hi Laura,
JanusGraph support for loading data does not go further than the Traversal API (used in https://tinkerpop.apache.org/docs/current/reference/#addvertex-step ) and the JanusGraphManagement API
Hi Laura,
JanusGraph support for loading data does not go further than the Traversal API (used in https://tinkerpop.apache.org/docs/current/reference/#addvertex-step ) and the JanusGraphManagement API
|
By
hadoopmarc@...
·
#6020
·
|
|
JanusGraph combined with Belief Propagation
I'm moving from AWS Neptune architecture to JanusGraph in CentOS.
Anyone has tried implementing Belief Propagation with JanusGraph?
I'm moving from AWS Neptune architecture to JanusGraph in CentOS.
Anyone has tried implementing Belief Propagation with JanusGraph?
|
By
ganeshanvinothkumar@...
·
#6019
·
|