Skip to content

fix: opensearch vector search falls back to keyword search#20723

Merged
crazywoola merged 1 commit intolanggenius:mainfrom
jefferyvvv:fix/opensearch-knn-not-performed
Jun 6, 2025
Merged

fix: opensearch vector search falls back to keyword search#20723
crazywoola merged 1 commit intolanggenius:mainfrom
jefferyvvv:fix/opensearch-knn-not-performed

Conversation

@jefferyvvv
Copy link
Copy Markdown
Contributor

Summary

Fixes: #20674

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 6, 2025
@jefferyvvv jefferyvvv changed the title fix: opensearch vector search falls back to keyword search (#20674) fix: opensearch vector search falls back to keyword search Jun 6, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 6, 2025
@crazywoola crazywoola merged commit 37c3283 into langgenius:main Jun 6, 2025
8 checks passed
jsincorporated pushed a commit to jsincorporated/asaAi that referenced this pull request Jul 8, 2025
…s#20723)

Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vector search falls back to keyword search with OpenSearch when using metadata filtering

2 participants