Fixes 578 - Add NLQ Search to Marketplace Search Bar#28112
Conversation
🟡 Playwright Results — all passed (17 flaky)✅ 4053 passed · ❌ 0 failed · 🟡 17 flaky · ⏭️ 103 skipped
🟡 17 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 |
Code Review ✅ Approved 1 resolved / 1 findingsIntegrates NLQ search into the Marketplace search bar with independent toggle state. The default NLP state has been disabled to prevent premature search failures. ✅ 1 resolved✅ Bug: isNLPEnabled defaults to true, may cause failed NLQ searches
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
| pageNumber: INITIAL_PAGING_VALUE, | ||
| pageSize: PAGE_SIZE * 2, | ||
| searchIndex: SearchIndex.MARKETPLACE, |
There was a problem hiding this comment.
Are we not using pagination on this endpoint yet?
There was a problem hiding this comment.
Since this is a suggestions dropdown, not a paginated list page, we just want just the top results.




Add NLQ Search to Marketplace Search Bar
MarketplaceSearchBar - Added a Natural Language Query (NLQ) toggle button inside the search input, matching the style of the global search bar's NLQ icon. The toggle is independent of the global search bar state - each has its own on/off state.
NLQ flow — When the toggle is active and NLP is enabled on the backend, the search calls nlqSearch with index=marketplace (the Elasticsearch alias covering both domain and dataProduct indexes). Results are split by entityType into data products and domains. Falls back to regular keyword search if NLQ is unavailable.

Fixes https://github.com/open-metadata/ai-platform/issues/578
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
isNLPEnabledstate by default inMarketplaceSearchBarcomponent to prevent premature NLQ activation.This will update automatically on new commits.