apache / apache/hugegraph

能否在调用K-neighbor API时同步返回路径信息

Open
#898 1 comment 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Expected behavior 期望表现

期望调用K-neighbor API时在返回邻接点信息的同时,可以返回路径信息,比如途径的点。

### Actual behavior 实际表现

目前想实现从目标节点出发,查找最大深度以内的所有节点,包括路径信息。目前只有K-neighbor API可以返回最大深度以内的节点,如果想要路径信息的时候还需要使用Paths API,比较繁琐。

### Steps to reproduce the problem 复现步骤
1. {step 1}
2. {step 2}
3. {step 3}

### Status of loaded data 数据状态

#### Vertex/Edge summary 数据量
- loaded vertices amount: {like 10 million}
- loaded edges amount: {like 20 million}
- loaded time: {like 200s}

#### Vertex/Edge example 数据示例
{type something here...}

#### Schema(VertexLabel, EdgeLabel, IndexLabel) 元数据结构
{type something here...}

### Specifications of environment 环境信息
- hugegraph version: {like v0.7.4}
- operating system: {like centos 7.4, 32 CPUs, 64G RAM}
- hugegraph backend: {like cassandra 3.10, cluster with 20 nodes, 3 x 1TB HDD disk each node}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.