feat: add IVFFlat index functionality to PGVector #31

Open
opened 2026-02-16 05:16:10 -05:00 by yindo · 1 comment
Owner

Originally created by @Insomnia0207 on GitHub (Jul 12, 2024).

Hello, thanks for this extremely useful project.
pgvector now support 2 index types HNSW and IVFFlat,

  1. I noticed that there is a pull request to support HNSW index to PGVector, may I ask when it would be available since we need to do ANN search and it is encouraged to move to PGVector?
  2. Is there any plan to support IVFFlat index?
Originally created by @Insomnia0207 on GitHub (Jul 12, 2024). Hello, thanks for this extremely useful project. [pgvector](https://github.com/pgvector/pgvector?tab=readme-ov-file#indexing) now support 2 index types HNSW and IVFFlat, 1. I noticed that there is a [pull request](https://github.com/langchain-ai/langchain-postgres/pull/85) to support HNSW index to PGVector, may I ask when it would be available since we need to do ANN search and it is encouraged to move to PGVector? 2. Is there any plan to support IVFFlat index?
Author
Owner

@eyurtsev commented on GitHub (Jul 12, 2024):

I'll try to review next week, but having another reviewer from the community will be helpful

@eyurtsev commented on GitHub (Jul 12, 2024): I'll try to review next week, but having another reviewer from the community will be helpful
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#31