pg_bestmatch.rs
Generate BM25 sparse vector inside PostgreSQL
File Explorer
Download Latest Version (.zip)- audit.toml
- config.toml
- release.yml
- release_nightly.yml
- release_officially.yml
- rust.yml
- style.yml
- update_vendor.yml
- package.sh
- update_vendor.sh
- .gitkeep
- .gitkeep
- pgrx_embed.rs
- finalize.sql
- mod.rs
- lib.rs
- bert_base_cased.json
- bert_base_uncased.json
- pg_config.sh
- schema-codegen.sh
- schema.sh
- pg12_aarch64-unknown-linux-gnu.txt
- pg12_x86_64-unknown-linux-gnu.txt
- pg13_aarch64-unknown-linux-gnu.txt
- pg13_x86_64-unknown-linux-gnu.txt
- pg14_aarch64-unknown-linux-gnu.txt
- pg14_x86_64-unknown-linux-gnu.txt
- pg15_aarch64-unknown-linux-gnu.txt
- pg15_x86_64-unknown-linux-gnu.txt
- pg16_aarch64-unknown-linux-gnu.txt
- pg16_x86_64-unknown-linux-gnu.txt
- pg17_aarch64-unknown-linux-gnu.txt
- pg17_x86_64-unknown-linux-gnu.txt
- pg12_aarch64-unknown-linux-gnu.rs
- pg12_x86_64-unknown-linux-gnu.rs
- pg13_aarch64-unknown-linux-gnu.rs
- pg13_x86_64-unknown-linux-gnu.rs
- pg14_aarch64-unknown-linux-gnu.rs
- pg14_x86_64-unknown-linux-gnu.rs
- pg15_aarch64-unknown-linux-gnu.rs
- pg15_x86_64-unknown-linux-gnu.rs
- pg16_aarch64-unknown-linux-gnu.rs
- pg16_x86_64-unknown-linux-gnu.rs
- pg17_aarch64-unknown-linux-gnu.rs
- pg17_x86_64-unknown-linux-gnu.rs
- .gitignore
- .taplo.toml
- .typos.toml
- Cargo.lock
- Cargo.toml
- LICENSE
- pg_bestmatch.control
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/tensorchord/pg_bestmatch.rs
Downloads the entire project code from GitHub to your computer.
cd pg_bestmatch.rs
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Rust (rustup) Rust is required to use cargo.
cargo install cargo-pgrx --version v0.12.0-alpha.1
Builds and installs the package published on crates.io β no need to clone the repo yourself.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo install cargo-pgrx --version v0.12.0-alpha.1
Builds and installs the package published on crates.io β no need to clone the repo yourself.
cargo pgrx init --pg16=$(which pg_config) # assuming that you have PostgreSQL 16 installed
Type this command into your terminal and run it.
cargo pgrx install --release # if you want to install it on your machine
Type this command into your terminal and run it.
cargo pgrx package # if you want to package `pg_bestmatch`
Type this command into your terminal and run it.
If cargo build finishes without errors, it worked. The executable is created under target/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
