jelmerk / hnswlib

Java library for approximate nearest neighbors search using Hierarchical Navigable Small World graphs
Apache License 2.0
260 stars 56 forks source link

Have you considered using a database for persistence? #39

Closed xiaoyoupei closed 3 years ago

xiaoyoupei commented 3 years ago

Persistent node

jelmerk commented 3 years ago

The entire index needs to be in memory for fast lookups so no

I mean nothing is stopping you from saving the index to binary blob If you wanted to do that, there's just not many cases where I see that making sense