Skip to content

feat: support for DiskANN index #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nazarpechka
Copy link

@nazarpechka nazarpechka commented Jun 27, 2025

This PR adds support for DiskANN index, available on Azure PostgreSQL Flexible Server.

As it's not possible to create local unit tests for this index, I have created this PR as a draft and don't expect it to be merged.
It might be useful to some people nevertheless, as Microsoft promises better performance and less RAM usage, compared to HNSW.

@averikitsch
Copy link
Collaborator

Thank you @nazarpechka for the Pull Request. At this time I would recommend adding documentation to https://github.com/langchain-ai/langchain-postgres/blob/main/examples/pg_vectorstore_how_to.ipynb to show developers how they can implement this themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants