-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat(api): enhance /search
endpoint with flexible filtering and dynamic aggregations
#155
Open
kouloumos
wants to merge
6
commits into
bitcoinsearch:staging
Choose a base branch
from
kouloumos:api-improvements
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
* feat(sources): add view modes and refactor Documents component - Add threaded and combined summaries view modes for documents - Filter out combined-summary documents from default view - Break down Documents component into smaller, reusable components - Add source metadata for available view modes (threads/summaries) - Improve component organization and maintainability * fix build error with more readable code not related with the change but resulting in build error
* chore(banner): add boss banner * chore(version): updated bdp-ui patch fix
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
kouloumos
force-pushed
the
api-improvements
branch
from
December 18, 2024 09:29
147de66
to
d91b8b2
Compare
kouloumos
force-pushed
the
api-improvements
branch
from
December 18, 2024 09:33
d91b8b2
to
25d498f
Compare
kouloumos
force-pushed
the
api-improvements
branch
from
December 19, 2024 09:31
25d498f
to
bdd0bb1
Compare
kouloumos
force-pushed
the
api-improvements
branch
from
December 20, 2024 08:50
bdd0bb1
to
547cfb8
Compare
Add support for filter operations (include/exclude), OR logic via array values, dynamic aggregation fields and sub-aggregations in the search API. Allow switching between default and coredev indices. This consolidates search functionality across products by making the Bitcoin Search API more flexible while maintaining backward compatibility.
kouloumos
force-pushed
the
api-improvements
branch
from
December 20, 2024 08:54
547cfb8
to
2c4e9b8
Compare
Introduces a flexible explore page that generalizes source exploration to handle domains, authors, and tags. Consolidates API usage by leveraging the existing /search endpoint with aggregations instead of specialized source endpoints. The new implementation uses reusable hooks for data fetching and provides threaded, flat, and summary view modes across different content types.
Removes /sources and /sourceDocuments endpoints and their associated hooks now that their functionality has been consolidated into the /search endpoint used by the explore interface.
The application was previously using URLs to fetch document content, but URLs are not guaranteed to be unique across documents. Switch to using Elasticsearch document IDs which are guaranteed unique identifiers. Update types, API endpoints, and components to pass document IDs instead of URLs throughout the content fetching flow.
Emmanuel-Develops
force-pushed
the
staging
branch
2 times, most recently
from
December 31, 2024 15:46
27e6de5
to
2bcc1ec
Compare
8 tasks
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.
This PR is the first step towards addressing #154, enhancing the Bitcoin Search API with several new features and improvements:
Search API Enhancements:
For a deeper dive into the rationale and specifics of the new implementation, refer to Consolidate search functionality across products by enhancing Bitcoin Search API #154.
New
/explore
Page:/sources
page, generalizing document exploration to include sources, authors, and tags./search
endpoint for a unified exploration experience./search
API.Code Refactor: