apache / apache/hugegraph-doc

[Enhance]add JobAPI doc for OLAP algorithms in HugeServer

Open
#205 5 comments 2 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
71
Forks
120
Avg merge
20h 5m
Merged PRs (30d)
21

Description

### Problem Type (问题类型)

None

### Your Question (问题描述)

To enable users to quickly apply integrated OLAP algorithms, it is recommended to add a job API to the document RESTful API module and provide instructions for usage.

- AlgorithmAPI

Environment (环境信息)
Server Version: 1.0.0 (Apache Release Version)
Backend: MySQL 8.0.32
hugegraph-hubble
hugegraph-loader

For example Run LPA Algorithm job

1. Load demo data into the hugegraph with hugegraph-loader
```
bin/hugegraph-loader.sh -g hugegraph -f example/file/struct.json -s example/file/schema.groovy
```

![image](https://user-images.githubusercontent.com/13795366/232008242-c6ee37c9-76a9-410d-8e78-bbaf3221f7a1.png)

2. Post http://localhost:8080/graphs/hugegraph/jobs/algorithm/lpa by PostMan

![image](https://user-images.githubusercontent.com/13795366/232008474-f659e0de-7c8a-4d42-bfb2-bdb79294501d.png)

3. View the result of the algorithm execution in hugegraph-hubble
Task status:
![image](https://user-images.githubusercontent.com/13795366/232008701-76176926-9b06-4532-9ea2-995d77ca4fc3.png)

Lap algo summary
![image](https://user-images.githubusercontent.com/13795366/232008770-51a848b8-04de-4257-a718-41ae67faae87.png)

Graph node label detail:
![image](https://user-images.githubusercontent.com/13795366/232008960-6d7a4f91-af0b-43be-9cac-410db49d4e28.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.