Local JavaScript Vector Database

I wrote up this tutorial on how to run a local client-slide vector database with RxDB. I stores data inside of IndexedDB and lets the user search stuff while being offline: rxdb.info/articles/javascript-vector-database.html

Feedback is welcomed, especially on my indexing methods.