You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "coolboywcm (via GitHub)" <gi...@apache.org> on 2025/09/11 01:35:48 UTC
[I] [Question] How to build vector index incrementally for new/updated graph vertices? [incubator-hugegraph-ai]
coolboywcm opened a new issue, #300:
URL: https://github.com/apache/incubator-hugegraph-ai/issues/300
### Problem Type (问题类型)
None
### Before submit
- [x] I had searched in the [issues](https://github.com/apache/incubator-hugegraph-ai/issues) and found no similar issues.
### Environment (环境信息)
Server Version: 1.5
Toolchain Version: hugegraph-rag lastest
Data Size: 2000 vertices, 3000 edges
### Your Question (问题描述)
I’m using HugeGraph with a custom RAG pipeline. My graph data is frequently updated by third-party services.
Currently, I rebuild the entire vector index from scratch after every change — which is inefficient.
👉 Does HugeGraph AI natively support incremental index updates (add/update/delete embeddings for changed vertices only)?
If not, is it on the roadmap? Any recommended approach?
Thanks!
### Vertex/Edge example (问题点 / 边数据举例)
```javascript
```
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
```javascript
```
--
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: dev-unsubscribe@hugegraph.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Question] How to build vector index incrementally for new/updated graph vertices? [incubator-hugegraph-ai]
Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on issue #300:
URL: https://github.com/apache/incubator-hugegraph-ai/issues/300#issuecomment-3277418383
@coolboywcm u could use https://deepwiki.com/apache/incubator-hugegraph-ai to ask 🤖 for (code related)details
If u already have vertexes `[a, b]`, then u imported `[b, c]`, the vid embedding method will only embed `c` (We use set to take the difference set and do not perform a full reconstruction of the entire vid. For details, please refer to the source code)
--
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: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
Re: [I] [Question] How to build vector index incrementally for new/updated graph vertices? [incubator-hugegraph-ai]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #300:
URL: https://github.com/apache/incubator-hugegraph-ai/issues/300#issuecomment-3277067919
<!-- Answer -->
HugeGraph-AI does natively support incremental updates for vector indexes—you can add, update, or delete embeddings for changed vertices without rebuilding the entire index from scratch. The vector index module provides methods for building, updating, and cleaning indexes, and supports batch and parallel processing for efficient handling of frequent updates. This design is well-suited for RAG pipelines where graph data changes often. You can also integrate with external vector databases like Faiss or Milvus if needed. For best results, use the batch and parallel options to process updates in groups and maximize throughput. More details are available in the [official documentation](https://app.dosu.dev/documents/744b2ddc-fc3a-464e-9ba8-4d35c519c3a3).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/2b7f03c3-ee6e-4aba-a62e-c811db42941f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/2b7f03c3-ee6e-4aba-a62e-c811db42941f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/2b7f03c3-ee6e-4aba-a62e-c811db42941f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/2b7f03c3-ee6e-4aba-a62e-c811db42941f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2b7f03c3-ee6e-4aba-a62e-c811db42941f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/2b7f03c3-ee6e-4aba-a62e-c811db42941f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2b7f03c3-ee6e-4aba-a62e-c811db42941f?feedback_type=other)</sup> [](https://app.dosu.dev/dc46e653-18e4-4843-bf2e-1fcf7467eb58/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph-ai/issues/300)
--
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: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org