pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #823: auto determine distance function base on index ops
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #823: auto determine distance function base on index ops
@ 2025-04-17 08:28  "DeoLeung (@DeoLeung)" <noreply+DeoLeung@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: DeoLeung (@DeoLeung) @ 2025-04-17 08:28 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

hi,

I'm thinking if it is possible to use a unified operator, something like `<>` to automatically use proper distance function base on the index's ops?

e.g if `vector_l2_ops`, it uses `<->` 

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #823: auto determine distance function base on index ops
@ 2025-04-17 08:46  "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-04-17 08:46 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @DeoLeung, thanks for the suggestion, but I think it's better to have separate operators.

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #823: auto determine distance function base on index ops
@ 2025-04-17 08:46  "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-04-17 08:46 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2025-04-17 08:46 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-04-17 08:28 [pgvector/pgvector] issue #823: auto determine distance function base on index ops "DeoLeung (@DeoLeung)" <noreply+DeoLeung@github.com>
2025-04-17 08:46 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-04-17 08:46 ` "ankane (@ankane)" <noreply+ankane@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