[Bug] Incorrect return value of the same query
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
### Bug Type (问题类型)
_No response_
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
### Environment (环境信息)
- Server Version: v0.12.0
- Backend: memory
- OS: `database server`: wsl ubuntu `java api`: windows
- Data Size: 300 vertices, 300 edges
[data.zip](https://github.com/apache/incubator-hugegraph/files/9379912/data.zip)
Use hugegraph-tools-1.6.0
Unzip data.zip and run command:
```
bin/hugegraph --url http://127.0.0.1:8080 graph-mode-set -m RESTORING
bin/hugegraph --url http://127.0.0.1:8080 restore -t all -d data
```
### Expected & Actual behavior (期望与实际表现)
`connection`
```
HugeClient hugeclient = HugeClient.builder("http://localhost:8080", "hugegraph").configTimeout(3000).build();
```
`query`
```
GremlinManager gremlinManager = hugeclient .gremlin();
String query = "g.E().has('ep1',-585962746).has('ep1', lt(1385437860)).bothV().count()"
String query1 = "t0=g.E()\n" +
"t1=t0.has('ep1',-585962746)\n" +
"t2=t1.has('ep1', lt(1385437860))\n" +
"t3=t2.bothV()\n" +
"t4=t3.count()\n" +
"t4"
ResultSet r1 = gremlinManager.gremlin(query).execute()
ResultSet r2 = gremlinManager.gremlin(query1).execute()
```
The two query did the same act but returned different results:
```
[2]
[198]
```
### Vertex/Edge example (问题点 / 边数据举例)
_No response_
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.