You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by vg...@apache.org on 2024/10/16 10:38:07 UTC
(incubator-hugegraph) branch fix-el created (now d8ce51a7b)
This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a change to branch fix-el
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
at d8ce51a7b fixup
This branch includes the following new commits:
new d8ce51a7b fixup
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-hugegraph) 01/01: fixup
Posted by vg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a commit to branch fix-el
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
commit d8ce51a7b9761d323bdc86f53caed9cc284d0be6
Author: V_Galaxy <vg...@apache.org>
AuthorDate: Wed Oct 16 18:37:48 2024 +0800
fixup
---
.../src/main/java/org/apache/hugegraph/io/GraphSONSchemaSerializer.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/io/GraphSONSchemaSerializer.java b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/io/GraphSONSchemaSerializer.java
index 31d197c09..db8d874e8 100644
--- a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/io/GraphSONSchemaSerializer.java
+++ b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/io/GraphSONSchemaSerializer.java
@@ -83,6 +83,8 @@ public class GraphSONSchemaSerializer {
}
if (!edgeLabel.isFather()) {
+ map.put(HugeKeys.SOURCE_LABEL, edgeLabel.sourceLabelName());
+ map.put(HugeKeys.TARGET_LABEL, edgeLabel.targetLabelName());
map.put(HugeKeys.LINKS,
graph.mapPairId2Name(edgeLabel.links()));
map.put(HugeKeys.FREQUENCY, edgeLabel.frequency());