You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Question] How to build vector index incrementally for new/updated graph vertices? #300
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.
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)
Activity
dosubot commentedon Sep 11, 2025
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.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
imbajin commentedon Sep 11, 2025
@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 embedc(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)