Open aubreyyan opened 3 weeks ago
Hi! Sorry for these issues and thanks for letting us know.
lantern_hnsw
is the correct access method. I just made these changes.
I also simplified the docs to use Lantern Cloud URLs for simplicity, although the self-hosting instructions still work.
Your issue with lantern_hnsw
seems to be that the Lantern extension isn't loaded in the database.
In your setup.sh
, can you change
sudo -i -u postgres psql -U postgres -c 'CREATE EXTENSION lantern'
to
sudo -i -u postgres psql -U postgres -d ourdb -c 'CREATE EXTENSION lantern'
I believe that should fix your error.
Consistently, the website with the tutorials instructs users to create an index in postgresql using the access method
lantern_hnsw
. This is directly contradicted by the jupyter notebooks in https://github.com/lanterndata/examples/tree/main And it is unclear which, if any, is correct.After following the tutorials, neither access method works for me.
to reproduce, feel free to reference my source code. https://github.com/aubreyyan/lantern_movie_recommender