[PR #5322] feat: support opensearch approximate k-NN #24873

Closed
opened 2026-02-21 20:23:50 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/5322

State: closed
Merged: Yes


Description

This PR introduces support for opensearch approximate k-NN feature, leveraging opensearch for vector retrieval and storage. It includes the integration of opensearch for approximate k-NN search and vector operations, enhancing search functionality to enable faster and more efficient retrieval of similar items.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement

How Has This Been Tested?

  • Unit tests were conducted to validate the functionality of opensearch approximate k-NN and vector operations integration.
  • The following tests cover the new features and integration: [Describe the tests here]
  • Test Configuration Details: [Include any relevant details for test setup]

Suggested Checklist:

  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • I ran dev/reformat (backend) and cd web && npx lint-staged (frontend) to appease the lint gods
  • optional New and existing unit tests pass locally with my changes
**Original Pull Request:** https://github.com/langgenius/dify/pull/5322 **State:** closed **Merged:** Yes --- # Description This PR introduces support for opensearch approximate k-NN feature, leveraging opensearch for vector retrieval and storage. It includes the integration of opensearch for approximate k-NN search and vector operations, enhancing search functionality to enable faster and more efficient retrieval of similar items. ## Type of Change - [x] New feature (non-breaking change which adds functionality) - [x] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement # How Has This Been Tested? - [x] Unit tests were conducted to validate the functionality of opensearch approximate k-NN and vector operations integration. - [x] The following tests cover the new features and integration: [Describe the tests here] - [x] Test Configuration Details: [Include any relevant details for test setup] # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings - [x] I ran `dev/reformat` (backend) and `cd web && npx lint-staged` (frontend) to appease the lint gods - [x] `optional` New and existing unit tests pass locally with my changes
yindo added the pull-request label 2026-02-21 20:23:50 -05:00
yindo closed this issue 2026-02-21 20:23:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24873