pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #642: Search with IVF and HNSW indexes
Date: Sat, 17 Aug 2024 21:46:15 +0000
Message-ID: <gh-pgvector-pgvector-642-c2294994126@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-642@github.com>
References: <gh-pgvector-pgvector-642@github.com>

Hi @xcu, I'd expect that approach to work as long as the IVFFlat index isn't on the parent table (otherwise, you won't be able to drop them independently). In any case, I'd test this with an offline instance first (also, if you're doing any filtering in the queries, note that you may see differences between HNSW and IVFFlat).

As @jkatz mentioned, you can use `pg_hint_plan` for more control over which index is used.

view thread (5+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-642-c2294994126@github.com>
Permalink:  ../gh-pgvector-pgvector-642-c2294994126@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