Skip to content

[Feature] Add /traversers/sameneighborsbatch API endpoint to support client-side batch same neighbors queries #2798

@sadwitdastreetz

Description

@sadwitdastreetz

Feature Description (功能描述)

Background

When running the SameNeighborsBatchApiTest in the [hugegraph-client]project, all related test cases fail with HTTP 404 errors. Manual curl requests to /graphs/hugegraph/traversers/sameneighborsbatch also return 404.

After discovering reports, logs and codebases. Here's what I would like to propose.

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Problem

The SameNeighborsBatchApiTest is not included in the client's Maven test suite, so this issue was not previously detected in CI.
The server does not implement the /traversers/sameneighborsbatch API endpoint, which is required by the client.

Proposal

Please add the /traversers/sameneighborsbatch API endpoint to hugegraph-server to support batch same neighbors queries, so that the client-side tests can pass.

Reference

(https://github.com/apache/incubator-hugegraph-toolchain/blob/master/hugegraph-client/src/test/java/org/apache/hugegraph/api/traverser/SameNeighborsBatchApiTest.java)

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiChanges of APIfeatureNew feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions