-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#25859] DocDB: Pass ybhnsw options to docdb layer
Summary: Support specifying index creation options m, m0, ef_construction for ybhnsw. Standard Postgres pgvector hsnw supports the following options: index creation options: m, ef_construction query options: ef_search Reference: https://github.com/pgvector/pgvector?tab=readme-ov-file#index-options For ybhsnw, this diff: adds plumbing for index creation options: m, ef_construction to be passed down adds a new index creation option m0 (used by usearch) and adds plumbing for it It does not yet handle query option ef_search. **Upgrade/Rollback safety:** Safe, since modified field is used only by the code that was not yet released. Jira: DB-15153 Test Plan: PgVectorIndexTest.Options/* Reviewers: tnayak, arybochkin, jason Reviewed By: tnayak Subscribers: mihnea, smishra, jason, slingam, aleksandr.ponomarenko, ybase, yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D41785
- Loading branch information
Showing
10 changed files
with
152 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters