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 #560: 【ef_search】set hnsw.ef_search = 1001 failed
Date: Mon, 20 May 2024 16:18:42 +0000
Message-ID: <gh-pgvector-pgvector-560-c2120776371@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-560@github.com>
References: <gh-pgvector-pgvector-560@github.com>

Hi @frg01, `hnsw.ef_search` is limited to 1,000 to limit memory usage. IVFFlat is recommended if you need more than 500 results ([docs](https://github.com/pgvector/pgvector?tab=readme-ov-file#why-are-there-less-results-for-a-query-after...)).

view thread (5+ messages)  latest in thread

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