karthikraju
karthikraju
JJanusGraph
Created by karthikraju on 10/15/2024 in #questions
Unable to use text predicates like 'textContains' in gremlin python
thank you so much!
5 replies
JJanusGraph
Created by karthikraju on 10/15/2024 in #questions
Unable to use text predicates like 'textContains' in gremlin python
I am able to submit groovy scripts through the gremlin client. But debugging the queries using this method is really hard.
5 replies
JJanusGraph
Created by karthikraju on 10/2/2024 in #questions
Unable to run two instances of janusgraph using scylla as the storage backend in docker
I get an error saying: "Scylla entered FATAL state, too many start retries too quickly"
2 replies
JJanusGraph
Created by karthikraju on 9/24/2024 in #questions
Need advice on setting up janusgraph as a microservice
I did see this but still both the graphs are still on the same instance of janusgraph, and my requirement is to have two separate instances of janusgraph one for the users and another one for the products because the users graph will have its own thing and I need to it be isolated
4 replies
JJanusGraph
Created by b4lls4ck on 8/23/2024 in #questions
Speeding up Queries Made to JanusGraph
29 replies
JJanusGraph
Created by karthikraju on 9/13/2024 in #questions
Indexes are not being used even after enabling
Update: Having a single composite index for _id and using the query: g.V().has('<label>', '_id', '<value>') still uses the index
9 replies
JJanusGraph
Created by karthikraju on 9/13/2024 in #questions
Indexes are not being used even after enabling
The reason for adding the 'type' key was that janusgraph doesn't index labels as discussed in this github issue: https://github.com/JanusGraph/janusgraph/issues/283 I like the readability of having queries like: g.V().has('<label>', '<property'>, '<value>') but with the type property all the queries will look like this: g.V().has('<type>').has('_id', '<value>') I would like to know if the queries still use the indexes if I just create a composite index for the _id and have queries like g.V().has('<label>', '_id', '<value>')
9 replies
JJanusGraph
Created by karthikraju on 9/13/2024 in #questions
Indexes are not being used even after enabling
Yes, that was the problem. Completely overlooked that. Thank you!
9 replies
JJanusGraph
Created by karthikraju on 9/13/2024 in #questions
Indexes are not being used even after enabling
Tried adding the label but still no luck. The profile response still shows fullScan=true
9 replies
JJanusGraph
Created by b4lls4ck on 8/23/2024 in #questions
Speeding up Queries Made to JanusGraph
Yes, under the Gremlin-Python -> Submitting Scripts section. I will create an issue first then, no problem. Thank you for letting me know.
29 replies
JJanusGraph
Created by b4lls4ck on 8/23/2024 in #questions
Speeding up Queries Made to JanusGraph
So I'm thinking I will make the following change to the tinkerpop documentation:
When the response type is known to be something other than primitive datatypes, it is recommended to return an empty array at the end of the script so that the script executes despite having an arbitrary return type
When the response type is known to be something other than primitive datatypes, it is recommended to return an empty array at the end of the script so that the script executes despite having an arbitrary return type
and I will also add an example for the code. Will that be fine?
29 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
UPDATE: The problem was with bad management of the sessions. Just separated the schema and index management scripts and it works.
16 replies
JJanusGraph
Created by b4lls4ck on 8/23/2024 in #questions
Speeding up Queries Made to JanusGraph
Hello! This seems like a real catch so I was thinking of creating a PR to update the docs to mention this. Also, the groovy script approach is only mentioned in the tinkerpop documentation: https://tinkerpop.apache.org/docs/current/reference/#gremlin-python and nowhere in the janusgraph documentation, does it make sense to have it in janusgraph documentation as well?
29 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
here's the schema
16 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
I am currently trying to only register one index despite having three indexes created
16 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
I am getting the following error now:
13:26:58 INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher.call - Some key(s) on index byIdTypeAndName do not currently have status(es) [REGISTERED, ENABLED]: name=INSTALLED,_id=INSTALLED,type=INSTALLED
2024-09-12 18:56:58 13:26:58 INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher.call - Some key(s) on index byIdTypeAndName do not currently have status(es) [REGISTERED, ENABLED]: name=INSTALLED,_id=INSTALLED,type=INSTALLED`
13:26:58 INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher.call - Some key(s) on index byIdTypeAndName do not currently have status(es) [REGISTERED, ENABLED]: name=INSTALLED,_id=INSTALLED,type=INSTALLED
2024-09-12 18:56:58 13:26:58 INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher.call - Some key(s) on index byIdTypeAndName do not currently have status(es) [REGISTERED, ENABLED]: name=INSTALLED,_id=INSTALLED,type=INSTALLED`
16 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
but everything happens in the same script, that is the creation of index happens first and immediately I am creating another management instance and trying out REGISTER_INDEX commands
16 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
yes, I have
16 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
Still getting the same error after restarting the server
16 replies
JJanusGraph
Created by mrat85 on 8/30/2024 in #questions
Edge Index stuck at Installed
let me restart and try again
16 replies