Adapt search pipeline to prefer semantic results#26771
Conversation
lautel
commented
Mar 25, 2026
- Remove dataAssetEmbeddings alias from entities with no embeddings: tag, container, file, worksheet, spreadsheet, directory.
- Change default search pipeline for hybrid search: k=30, weights=[0.4, 0.6] --> semantic results have more weight
OpenMetadata Service New-Code Coverage✅ PASS. Required changed-line coverage:
Only changed executable lines under |
🟡 Playwright Results — all passed (14 flaky)✅ 3402 passed · ❌ 0 failed · 🟡 14 flaky · ⏭️ 216 skipped
🟡 14 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
| .createObjectNode() | ||
| .put("technique", "rrf") | ||
| .put("rank_constant", 60) | ||
| .put("rank_constant", 30) |
There was a problem hiding this comment.
motivation behind reducing denominator constant? overall curious about this variable, 60 as default also intriguing
There was a problem hiding this comment.
60 is the default rank constant. Everywhere you see RRF, the default is 60. Thing is, it makes scores quite uniform and masks very high ranking items. I halved it to maintain clearer differences in scores between rank positions.
* Update CLAUDE.md with environment setup and worktree instructions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Address PR review feedback on CLAUDE.md environment setup - Fix Python version range to 3.10-3.11 (matches CI matrix and noxfile) - Fix "claustre" typo to "Claude Code" - Remove hardcoded ~/Code/OpenMetadata/env paths, use generic references - Reorder commands: install_dev_env before make generate (Makefile requires it) - Soften environment-specific assertions about system Python Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Code Review ✅ ApprovedAdapts the search pipeline to prioritize semantic results over keyword-based matches, improving search recall. No issues found. OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|


