-
Notifications
You must be signed in to change notification settings - Fork 34
Add full-page search landing experience #2459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Introduced `FullSearchGateway` with hybrid RRF search combining semantic and lexical queries. - Added `FullSearchUsecase` to manage full-page search operations. - Updated `MarkdownPageLayout` to support `FullSearch` layout. - Improved query detection for semantic and keyword-based searches. - Modified `ElasticsearchGateway` to use a unified client accessor. - Extended serialization in `ApiJsonContext` for full search models. - Implemented `IsExcluded` logic for configurable exclusion rules. - Registered `FullPageSearchComponent` in frontend assets.
src/Elastic.Documentation.Site/Assets/web-components/FullPageSearch/FullPageSearch.tsx
Fixed
Show fixed
Hide fixed
src/Elastic.Documentation.Site/Assets/web-components/FullPageSearch/FullPageSearch.tsx
Fixed
Show fixed
Hide fixed
src/api/Elastic.Documentation.Api.Infrastructure/Adapters/Search/FullSearchGateway.cs
Dismissed
Show dismissed
Hide dismissed
...astic.Documentation.Api.Infrastructure/Adapters/Search/Common/ElasticsearchClientAccessor.cs
Fixed
Show fixed
Hide fixed
...astic.Documentation.Api.Infrastructure/Adapters/Search/Common/ElasticsearchClientAccessor.cs
Fixed
Show fixed
Hide fixed
src/Elastic.Documentation.Site/Assets/web-components/FullPageSearch/AIAnswerPanel.tsx
Fixed
Show fixed
Hide fixed
src/Elastic.Documentation.Site/Assets/web-components/FullPageSearch/AIAnswerPanel.tsx
Fixed
Show fixed
Hide fixed
🔍 Preview links for changed docs |
src/api/Elastic.Documentation.Api.Infrastructure/Adapters/Search/FindPageGateway.cs
Fixed
Show fixed
Hide fixed
src/api/Elastic.Documentation.Api.Infrastructure/Adapters/Search/FindPageGateway.cs
Fixed
Show fixed
Hide fixed
…ter sanitization Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
...astic.Documentation.Api.Infrastructure/Adapters/Search/Common/ElasticsearchClientAccessor.cs
Dismissed
Show dismissed
Hide dismissed
src/api/Elastic.Documentation.Api.Infrastructure/Adapters/Search/FindPageGateway.cs
Dismissed
Show dismissed
Hide dismissed
src/api/Elastic.Documentation.Api.Infrastructure/Adapters/Search/FindPageGateway.cs
Dismissed
Show dismissed
Hide dismissed
reakaleek
approved these changes
Jan 15, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Full-Page Search Experience
This PR introduces a dedicated full-page search experience at
/_search, providing users with a comprehensive way to search across all Elastic documentation.cursorful-video-1768415289672.mp4
Features
Landing Page
Search Results
AI Answer Panel
Filter Sidebar
Intelligent Query Handling
Demo/Testing Modes
The following URL parameters enable testing of error states and edge cases:
?fail=slow?fail=slow_error?fail=ai?fail=unavailableExamples:
/_search?fail=slow- Test loading state on landing page/_search?q=elasticsearch&fail=slow- Test loading spinner in results/_search?q=elasticsearch&fail=slow_error- Test error state after delay/_search?q=elasticsearch&fail=ai- Test AI unavailable with working search/_search?fail=unavailable- Test service unavailable stateBackend Changes
/api/v1/searchendpoint for full-page search with pagination, filtering, and sortingFindPage) and full searchSearchQueryBuilderandSearchResultProcessor