choeoe opened a new issue, #1945:
URL: https://github.com/apache/incubator-hugegraph/issues/1945

   ### 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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to