pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: vincenzon (@vincenzon) <noreply+vincenzon@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #263: No results when using index
Date: Wed, 13 Sep 2023 14:12:02 +0000
Message-ID: <gh-pgvector-pgvector-263-c1717715475@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-263@github.com>
References: <gh-pgvector-pgvector-263@github.com>

@fanfuxiaoran I guess I disagree with the conclusion that this is reasonable. I would assume that the default value of:

```
embedding <#> '[1,3,5]'
```
would be 1.0 if no vectors were found in the cluster. The result in this case would be random order (or whatever would result when the cosine metric ties). I think returning nothing is an abstraction leak. I expect the nearest neighbor to be approximate not ... whatever this is.

Do you see my point?


view thread (17+ messages)  latest in thread

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