This documentation is sourced from a third-party project and is not maintained by pgEdge.
Installation
- Setup development environment.
You can follow the docs about pgvecto.rs.
- Install the extension.
cargo pgrx install --sudo --release
- Configure your PostgreSQL by modifying
search_pathto include the extension.
psql -U postgres -c 'ALTER SYSTEM SET search_path TO "$user", public, bm25_catalog'
# You need restart the PostgreSQL cluster to take effects.
sudo systemctl restart postgresql.service # for vchord_bm25.rs running with systemd
- Connect to the database and enable the extension.
sql
DROP EXTENSION IF EXISTS vchord_bm25;
CREATE EXTENSION vchord_bm25; -->