Re: Composite Indexing not working as expected for property on vertex in janusgraph 0.6.1


Nikita Pande
 
Edited

gremlin> g.V().has("newid","xyz").valueMap(true).tryNext().isPresent()

==>false

gremlin> g.V().has("newid",unfold().is("hash data")).valueMap(true).tryNext().isPresent()

07:01:35 WARN  org.janusgraph.graphdb.transaction.StandardJanusGraphTx  - Query requires iterating over all vertices [()]. For better performance, use indexes

==>true
So here thing is when using unfold() index is not being used

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