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

   ### Problem Type (问题类型)
   
   configs (配置项 / 文档相关)
   
   ### Before submit
   
   - [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have 
confirmed and searched that there are no similar problems in the historical 
issue and documents)
   
   ### Environment (环境信息)
   
   server: 1.0
   jdk: 11
   
   ### Your Question (问题描述)
   
   不同的顶点使用相同的边,比如 用图表示多个家庭:每个家庭有自己的父亲和自己的仔仔,他们有相同的边就是: 父子。创建相同的边的时候就会提示:The 
edge label '父子' has existed
   ```
   String edge = "父子";
           schema.edgeLabel(edge).sourceLabel("张三")
                   .targetLabel("张小明")
                   .properties(edge)
                   .ifNotExist()
                   .create();
   
           schema.edgeLabel(edge).sourceLabel("李四")
                   .targetLabel("李二狗")
                   .properties(edge)
                   .ifNotExist()
                   .create();
   ```
   创建第二个的时候就会出错,不知道描述清楚没有
   
   ### 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