Index Creation Help
I need some help understanding the difference between Graph Index, Composite Index, and Vertex Centrix Index, and how to create them. I am currently working in Python but I am unsure on how to utilize these three different types of indices to speed up my queries, any suggestions/explanations would be greatly appreciated
Looking at this page from a previous thread that I had created here (https://docs.janusgraph.org/schema/index-management/index-performance/#composite-index) I wasn't too sure where to execute some of the commands listed on the website. Is this going to work with Python?
1 Reply
Hi, I have tried to create indexes but I am running into issues. I am using the Docker image to jave a JanusGraph instance on my machine and I am using the gremlin console within the Docker container to create a composite index as follows:
1. I go into the Docker container via the command
2. Once in the Docker container I run to start up the gremlin console
3. I run and then which then outputs
4. I then run which outputs
5. I then run Which unfortunately appears to give me an error saying in the stack trace:
I am very confused as to why this is happening and would appreciate any assistance/troubleshooting
Hi, I fixed the issue by changing my first third command listed above to . However I do have some persisting issues and confusions which I will send soon.