-
Notifications
You must be signed in to change notification settings - Fork 580
Open
Labels
bugSomething isn't workingSomething isn't workinggremlinTinkerPop gremlinTinkerPop gremlinrocksdbRocksDB backendRocksDB backend
Description
Bug Type (问题类型)
gremlin (结果不合预期)
Before submit
- 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
- Server Version: 1.7.0
- Backend: RocksDB x nodes
- OS: 192 CPUs, 256 G RAM, Ubuntu 22.04
- Data Size: 50 vertices, 100 edges
Expected & Actual behavior (期望与实际表现)
Expected behavior
For the two query below, the same result should be returned:
g.E().has('ep4', lt(0.32696354)).and(__.hasLabel('el2')).count()
g.E().has('ep4', lt(0.32696354)).match(__.as('start1').and(__.hasLabel('el2')).as('m1')).select('m1').count()
Actual behavior
-
The first query thrown a exception:
org.apache.hugegraph.exception.NoIndexException: Don't accept query based on properties [ep4] that are not indexed in label 'el2', may not match secondary/range condition -
The second query returned the results normally.
-
When I executed these two queries on Janusgraph and Tinkerpop, they both returned the same results.
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggremlinTinkerPop gremlinTinkerPop gremlinrocksdbRocksDB backendRocksDB backend