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

Nikita Pande

hi @hadoopmarc So the problem is :

"gremlin> g.V().has("newid","xyz").valueMap(true).tryNext().isPresent()"however it gives false.
- This one would have given true response . Also it does use index which I got to know from profile

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

- This one is able to match value and filter the vertex, however its not using index. 

I want to understand why in case1 its unable to find vertex and why in second case index is not getting used.

Join to automatically receive all group messages.