create index with [indexing.hnsw.quantization.scalar]
CREATE TABLE dbpedia_3072_scalar (
id bigserial primary key,
title text,
content text,
embedding vector(3072)
);
CREATE INDEX hnsw_cosine_index_dbpedia_3072_scalar ON dbpedia_3072_scalar USING vectors (embedding vector_cos_ops) WITH (options='[indexing.hnsw]
m = 16
ef_construction = 100
[indexing.hnsw.quantization.scalar]
');
insert data
restart docker
Restart Log
2024-08-27 03:51:29.688 [31] LOG: Find directory "pg_vectors/indexes/0000000000000000000000000000000066cd4140d47c4027000000050001c7e8/segments/941d58fc-d25b-40e4-a3bb-987221c83617".
2024-08-27 03:51:29.746 [31] LOG: Panickied. Info: PanicInfo { payload: Any { .. }, message: Some(called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }), location: Location { file: "/home/runner/work/pgvecto.rs/pgvecto.rs/crates/quantization/src/scalar/mod.rs", line: 79, col: 64 }, can_unwind: true, force_no_backtrace: false }. Backtrace: disabled backtrace.
2024-08-27 03:51:29.895 UTC [31] ERROR: called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
2024-08-27 03:51:29.945 UTC [1] LOG: background worker "vectors" (PID 31) exited with exit code 1
Environment
docker
image tensorchord/pgvecto-rs:pg16-v0.3.0
image tensorchord/pgvecto-rs: pg16-v0.2.1
Step
create table with embedding vector(3072)
create index with [indexing.hnsw.quantization.scalar]
insert data
restart docker
Restart Log
postgresql-2024-08-27_035129.log