Qasim Khan • about 1 year ago
Vector Search Index
Hi, I am using ArangoDB Cloud. I want to add a vector index. The option isn't available in the Web UI. I think it needs to be done via arangosh locally. But it requires the option
--experimental-vector-index true
How can I do this? Preferably, I wouldn't like to migrate my data from the cloud instance I have right now to a newly setup locally running instance.
Comments are closed.

2 comments
Anthony Mahanna • about 1 year ago
Hi Qasim,
Unfortunately Vector Search is still in the process of being added to ArangoGraph (i.e ArangoDB Cloud).
If you are using the ArangoGraph Free Trial deployment, you can still store embeddings in ArangoDB and perform vector similarity via our existing AQL Functions, such as "exact" Cosine Similarity or Euclidean Distance (i.e Approximate Nearest Neighbor Search not used here). Documentation for this is available here: https://docs.arangodb.com/3.11/aql/functions/numeric/#cosine_similarity
If you are using ArangoDB locally, you can enable this feature. Here are a few resources to get started:
- Google Doc example: https://docs.google.com/document/d/1AdVnmJ54KlxC-0T5SN0xPmIHKe5oOIgXKaiZHZ8dcQA/edit?usp=sharing
- Vector Index Blog Post: https://arangodb.com/2024/11/vector-search-in-arangodb-practical-insights-and-hands-on-examples/
- ArangoDB Startup Parameter to enable the Vector Index: https://docs.arangodb.com/3.12/components/arangodb-server/options/#--experimental-vector-index
Qasim Khan • about 1 year ago
Hi Anthony,
Thanks for your help. I think it might be quite inefficient to always run a vector similarity scan over the entire collection without the index. I'll check if it works for me otherwise I'll setup a local instance (if I have time left ). Also, in case I do the latter, could you tell me how I could dump the database I have currently in ArangoGraph and import it to a local instance?