Skip to content

Commit 2f1fae2

Browse files
authored
update postgresql version in installation instruction (#153)
Signed-off-by: usamoi <usamoi@outlook.com>
1 parent 109f6b7 commit 2f1fae2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/pgvecto_rs/use-case/sparse-vector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ For instance, both `rocket` and `SPACE X` are related to space exploration, but
5959

6060
A vector embedding is the internal representation of input data in deep learning models, also known as embedding models. Most embedding models, such as `text-embedding-3-small`, only output dense embeddings.
6161

62-
[SPLADE](https://europe.naverlabs.com/research/computer-science/splade-a-sparse-bi-encoder-bert-based-model-achieves-effective-and-efficient-full-text-document-ranking/?utm_source=qdrant&utm_medium=website&utm_campaign=sparse-vectors&utm_content=article&utm_term=sparse-vectors) and [BGE-M3](https://arxiv.org/pdf/2402.03216.pdf) can generate sparse embeddings, sometimes called lexical weights. In this section, we will introduce the `BGE-M3` model for generating dense and sparse vectors.
62+
[SPLADE](https://europe.naverlabs.com/blog/splade-a-sparse-bi-encoder-bert-based-model-achieves-effective-and-efficient-first-stage-ranking/) and [BGE-M3](https://arxiv.org/pdf/2402.03216.pdf) can generate sparse embeddings, sometimes called lexical weights. In this section, we will introduce the `BGE-M3` model for generating dense and sparse vectors.
6363

6464
`BGE-M3` is a multi-functionality model, which can simultaneously perform the three common retrieval functionalities of the embedding model: dense retrieval, multi-vector retrieval, and sparse retrieval. We will learn how to generate dense and sparse embeddings from it.
6565

src/vectorchord/getting-started/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ echo 'build.rustflags = ["-Ctarget-cpu=icelake"]' >> ./cargo/config.toml
169169

170170
## Debian
171171

172-
If you have not installed PostgreSQL yet, please install PostgreSQL following https://www.postgresql.org/download/linux/debian/. If you have not installed pgvector yet, you could install pgvector by `apt install postgresql-17-pgvector` before the 3rd step.
172+
If you have not installed PostgreSQL yet, please install PostgreSQL following https://www.postgresql.org/download/linux/debian/. If you have not installed pgvector yet, you could install pgvector by `apt install postgresql-18-pgvector` before the 3rd step.
173173

174174
1. Download Debian packages in [the release page](https://github.com/tensorchord/VectorChord/releases/latest), and install them by `apt`.
175175

176176
```sh
177-
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.3/postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
178-
sudo apt install ./postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
177+
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.3/postgresql-18-vchord_0.5.3-1_$(dpkg --print-architecture).deb
178+
sudo apt install ./postgresql-18-vchord_0.5.3-1_$(dpkg --print-architecture).deb
179179
```
180180

181181
2. Configure your PostgreSQL by modifying the `shared_preload_libraries` to include the extension. And then restart the PostgreSQL cluster.
@@ -193,13 +193,13 @@ CREATE EXTENSION IF NOT EXISTS vchord CASCADE;
193193

194194
## Ubuntu
195195

196-
If you have not installed PostgreSQL yet, please install PostgreSQL following https://www.postgresql.org/download/linux/ubuntu/. If you have not installed pgvector yet, you could install pgvector by `apt install postgresql-17-pgvector` before the 3rd step.
196+
If you have not installed PostgreSQL yet, please install PostgreSQL following https://www.postgresql.org/download/linux/ubuntu/. If you have not installed pgvector yet, you could install pgvector by `apt install postgresql-18-pgvector` before the 3rd step.
197197

198198
1. Download Debian packages in [the release page](https://github.com/tensorchord/VectorChord/releases/latest), and install them by `apt`.
199199

200200
```sh
201-
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.3/postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
202-
sudo apt install ./postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
201+
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.3/postgresql-18-vchord_0.5.3-1_$(dpkg --print-architecture).deb
202+
sudo apt install ./postgresql-18-vchord_0.5.3-1_$(dpkg --print-architecture).deb
203203
```
204204

205205
2. Configure your PostgreSQL by modifying the `shared_preload_libraries` to include the extension. And then restart the PostgreSQL cluster.

src/vectorchord/getting-started/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ VectorChord introduces remarkable enhancements over pgvecto.rs and pgvector:
1010

1111
**⚡ Enhanced Performance**: Delivering optimized operations with up to 5x faster queries, 16x higher insert throughput, and 16x quicker[^1] index building compared to pgvector's HNSW implementation.
1212

13-
[^1]: Based on [MyScale Benchmark](https://myscale.github.io/benchmark/) with 768-dimensional vectors and 95% recall. Please checkout our [blog post](https://blog.vectorchord.ai/vectorchord-store-400k-vectors-for-1-in-postgresql) for more details.
13+
[^1]: Based on [MyScale Benchmark](https://myscale.github.io/benchmark/) with 768-dimensional vectors and 95% recall. Please check out our [blog post](https://blog.vectorchord.ai/vectorchord-store-400k-vectors-for-1-in-postgresql) for more details.
1414

1515
**💰 Affordable Vector Search**: Query 100M 768-dimensional vectors using just 32GB of memory, achieving 35ms P50 latency with top10 recall@95%, helping you keep infrastructure costs down while maintaining high search quality.
1616

0 commit comments

Comments
 (0)