pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: Tibiritabara (@Tibiritabara) <noreply+Tibiritabara@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #719: SELECT WHERE ORDER BY LIMIT no results
Date: Wed, 04 Dec 2024 10:59:45 +0000
Message-ID: <gh-pgvector-pgvector-719-c2516981111@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-719@github.com>
References: <gh-pgvector-pgvector-719@github.com>

Dear @jkatz thank you so much for your prompt answer and support. I will try to upgrade to 0.8.0 soon, and test once again. The current number of records on our DB is close to 50k, a much smaller number that the ones reported by @prathier, the original poster of this issue, but I am afraid I will face the same challenges as him.

I will add the suggested indexes as well on our `jsonb` columns. One last thing, regarding the `1=1`, it is a trick I learned on my data warehousing days. You can then append dynamically as many conditions with `AND ...`, and it will always be syntacticallly correct. It is like leaving a trailing comma at the end of every item on a list in TypeScript or Python. 

view thread (31+ messages)  latest in thread

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