Repository navigation
swap hybrid default values keyword vs semantic - #31968
Conversation
✅ Playwright Results — workflow succeededValidated commit ✅ 1146 passed · ❌ 0 failed · 🟡 7 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 57m 58s ⏱️ Max setup 4m 3s · max shard execution 19m 38s · max shard-job elapsed before upload 23m 13s · reporting 9s 🌐 203.42 requests/attempt · 2.25 app boots/UI scenario · 36.08% common-shard skew Optimization targets still in progress:
🟡 7 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 |
🚦 Removed from the merge queue —
|
…ult-values # Conflicts: # openmetadata-service/src/main/java/org/openmetadata/service/migration/mysql/v210/Migration.java # openmetadata-service/src/main/java/org/openmetadata/service/migration/postgres/v210/Migration.java # openmetadata-service/src/main/java/org/openmetadata/service/migration/utils/v210/MigrationUtil.java
Code Review 👍 Approved with suggestions 2 resolved / 3 findingsSwaps hybrid search default weights from 0.4/0.6 (keyword/semantic) to 0.6/0.4 across runtime configuration and JSON schemas, with guarded v2.1 data migrations for MySQL and PostgreSQL to align persisted settings. Comprehensive test coverage includes migration idempotency and operator-tuned value preservation. Consider normalizing 💡 Bug: Query domain update script skips displayName normalization📄 openmetadata-service/src/main/java/org/openmetadata/service/search/SearchRepository.java:3821-3823 In getScriptWithParams (SearchRepository.java:3821) the painless update pushes raw Normalize domain references the same way initial indexing does so displayName is populated.✅ 2 resolved✅ Quality: Javadoc claims thread-storage archival that migration never runs
✅ Edge Case: Migration overwrites operators who intentionally chose old default pair
🤖 Prompt for agentsOptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
Out of scope — getScriptWithParams domains handling came from main via merge (#32130, f207b9f), not this PR; this branch only touches the default weight values.
|
|



Describe your changes:
Fixes #31967
I worked on ... because ...
Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Summary by Gitar
SearchRepository.javaand JSON schemas to0.6for keyword and0.4for semantic searchThis will update automatically on new commits.
Greptile Summary
The PR swaps the default hybrid-search weighting to favor keyword search and aligns persisted settings during the v2.1.0 migration.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Reviews (7): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile