pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: svim-ig (@svim-ig) <noreply+svim-ig@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #751: No Results with HNSW and Filtering
Date: Tue, 07 Jan 2025 02:28:17 +0000
Message-ID: <gh-pgvector-pgvector-751-c2574272627@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-751@github.com>
References: <gh-pgvector-pgvector-751@github.com>

**Output of Explain Analyze is as follows:**
('Limit  (cost=280.40..340.95 rows=10 width=472) (actual time=31.616..31.617 rows=0 loops=1)',)
('  ->  Index Scan using prod_embedngs_1m_idx_hnsw on fashion_1m_data_embedng_2  (cost=280.40..184076.29 rows=30355 width=472) (actual time=31.614..31.615 rows=0 loops=1)',)
("        Order By: (product_embeddings <-> '[-0.05002027,-0.20752709,-0.059010178,0.014399445,0.085292175,..........0.1900907,-0.05728554]'::vector)",)
("        Filter: ((price > '100'::numeric) AND (price < '500'::numeric) AND (channel_code = 'ONL'::text))",)
('        Rows Removed by Filter: 1185',)
('Planning Time: 0.130 ms',)
('Execution Time: 31.648 ms',)

view thread (8+ messages)  latest in thread

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