pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #821: avg_width for Vector is 18 and for HalfVec is 1544
Date: Mon, 14 Apr 2025 14:16:40 +0000
Message-ID: <gh-pgvector-pgvector-821-c2801867132@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-821@github.com>
References: <gh-pgvector-pgvector-821@github.com>

Did you run `ANALYZE` on `embeddings_table_half`? Also, did your  query explicitly cast `halfvec(768)` for your parameter, e.g. `SELECT ... ORDER BY $1::halfvec(768) <#> embedding;`? (In case the implicit cast didn't take; I'm not sure how you're passing the data in).

view thread (7+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-821-c2801867132@github.com>
Permalink:  ../gh-pgvector-pgvector-821-c2801867132@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox