From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #878: partial index "USING hnsw (embedding vector_cosine_ops) WHERE (some_bool = true)" gives partial results as if filtering
Date: Wed, 23 Jul 2025 22:51:10 +0000
Message-ID: <gh-pgvector-pgvector-878-c3110852855@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-878@github.com>
References: <gh-pgvector-pgvector-878@github.com>
Hi @JoranDox,
1. Have you run `ANALYZE` on the table?
2. Is `random_page_cost` set correctly?
3. What's the output of `\d user_embedding` in `psql`?
4. What's the output of `EXPLAIN (ANALYZE, SETTINGS, BUFFERS)` for the default plan, as well as when the partial index is used?