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 #663:  Issue with HNSW Index Utilization for Cosine Similarity Searches Using <=> Operator
Date: Wed, 28 Aug 2024 07:40:52 +0000
Message-ID: <gh-pgvector-pgvector-663-c2314560961@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-663@github.com>
References: <gh-pgvector-pgvector-663@github.com>

Hi @RakshitKhajuria, it sounds like you've indexed the L2 distance but not the cosine distance. You'll need to create an index for each distance function you want to use ([docs](https://github.com/pgvector/pgvector?tab=readme-ov-file#hnsw)).

view thread (4+ messages)  latest in thread

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