g.V().has('vp4', neq('J2O')).has('vl1', 'vp2',gte(false)).has('vp2').has('vl0', 'vp3',gt(4592737712018141718)).out().count()
g.V().has('vp4', neq('J2O')).has('vl1', 'vp2',gte(false)).match(__.as('start0').has('vp2').has('vl0', 'vp3',gt(4592737712018141718)).repeat(__.out()).times(1).as('m0')).select('m0').count()
Bug Type (问题类型)
gremlin (结果不合预期)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
Expected behavior
For the two query below, the same result should be returned:
Actual behavior
org.apache.hugegraph.exception.NoIndexException: Don't accept query based on properties [vp4, vp2] that are not indexed in label 'vl1', may not match secondary/range/not-equal conditionhas(...)step andout()step in first query into thematch()step and replace theout()withrepeat()step, which should not affect the result.Vertex/Edge example (问题点 / 边数据举例)
noneSchema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
none