Repository navigation
Janusgraph not picking up Index during lookup. #2992
kaintharinder
started this conversation in
General
Replies: 4 comments
|
Your printed schema says that the byDocId index has status INSTALLED. Please check https://docs.janusgraph.org/schema/index-management/index-lifecycle/ and see if that helps. |
0 replies
|
Thanks @vtslab .. The lifecycle helped me. Apparently there was some problem in which the index was not getting enabled. |
0 replies
0 replies
|
You can probably find inspiration for improvement at: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi ,
Below is my Schema Model
I have created one composite index as well on docId and inserted some 100 records of vertex Segment Type
Query : g.V().has('docId','1d5bdb14-09a1-4259-a448-b8fc59ce14d0')
This prints the correct results, but in the janusgraph logs I see a warning that query is scanning all vertices, use Index.

Seems like my index is not getting picked up.
The profile command shows it is doing full scan and not using the index.
I am using cassandra as storage backend. Is there anything that I am missing. In the Schema screenshot attached , I see the index as installed.
All reactions