apache / apache/hugegraph

查询结果出错

Open
#1,908 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 20h
Merged PRs (30d)
22

Description

### Bug Type (问题类型)

gremlin (结果不合预期)

### Before submit

- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题

### Environment (环境信息)

- Server Version: v0.11.x
- Backend: RocksDB x nodes, HDD or SSD
- OS: xx CPUs, xx G RAM, Centos 7.x
- Data Size: xx vertices, xx edges

### Expected & Actual behavior (期望与实际表现)

执行下面语句
g.V().hasLabel(midware').has('id',s_id).outE('e_midware_software_belong').inV()
正常应该查询出e_midware_software_belong边对应的顶点信息,
但实际结果不光把对应顶点信息查出来了,还把对应顶点有关系的边也一并返回出来。

### Vertex/Edge example (问题点 / 边数据举例)

_No response_

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the reported Gremlin traversal on HugeGraph v0.11.x and compare its actual results with the expected target vertices. The issue provides no vertex, edge, schema, or complete environment example, so reproduce the behavior with representative data before tracing the traversal result handling; done means only the vertices reached through the specified edge are returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.