jankotek / mapdb

MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
https://mapdb.org
Apache License 2.0
4.87k stars 873 forks source link

Vector Collection #1040

Open JusticeN opened 5 months ago

JusticeN commented 5 months ago

Is it possible to Build a Vector Collection Type?

The goal is to allow Mapdb to be used as embedded Vector Database with similarity search. Do you think it is possible to create a new vector collection type where each item will have an id and vector and build a similarity search function for query.

Does it make sense?

There is already hnswlib library for vector search in Java