In JanusGraph, we can specify indexOnly(<label>) for a composite index like this:
mgmt.buildIndex("myindex", Vertex.class).addKey(...).indexOnly(<label>).buildCompositeIndex()
When retrieving the composite index, how can we know whether it is an index for a specific label? I don't see any method available to retrieve this information:
JanusGraphIndex index = mgmt.getGraphIndex("myindex")
// How to retrieve indexOnly details?
Thanks,