Janusgraph not able to find suitable index for a index enabled property key


Harshit Sharma
 

I'm working on a Janusgraph application. To improve gremlin query performance we are creating two mixed indexes, one for vertices and one for edges.
Now Janusgraph can query indexes for property keys that are created and indexed at the time of index creation i.e in the same transaction. If I'm creating and indexing a new property key in a new transaction then Janusgraph is not able to query them using indexing, instead, it does a complete graph scan.
Using Janusgeaph management API I checked that all property keys are indexed and enabled, even then Janusgraph is scanning a complete graph for querying on an indexed property key.
Backend index engine -> ElasticSearch
Backend Storage -> Cassandra

Is there anything I'm missing? Any help would be greatly appreciated.

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.