pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #719: SELECT WHERE ORDER BY LIMIT no results
Date: Sat, 08 Feb 2025 21:01:47 +0000
Message-ID: <gh-pgvector-pgvector-719-c2645940041@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-719@github.com>
References: <gh-pgvector-pgvector-719@github.com>

> I am encountering the same problem. When combining order by and limit, on a column indexed with HNSW, no results are retrieved at all. When using order by only (no limit) - results are retrieved correctly.
> 
> Trying to setup the local variables did not solve the issue for me. The DB holds around 800K~ vectors and supposed to be even larger in the future.
> 
> We are using v0.8.0.

@gili-vega I'm sorry you're having issues, but unfortunately this is nearly impossible to provide additional guidance on without providing more information.

* Do you have the query and the  `EXPLAIN` plans (redacted if there's sensitive information)  of what you're running?
* Do you have information about the schema and the indexes you put on it (and how you created the indexes)?
* Did you run `ANALYZE` on the table?

view thread (31+ messages)  latest in thread

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