-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
✨ Refactor & speedup insights search #3631
Conversation
Quick links (staging server):
Login: chart-diff: ✅No charts for review.data-diff: ✅ No differences foundLegend: +New ~Modified -Removed =Identical Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet Automatically updated datasets matching weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included Edited: 2024-11-28 08:48:46 UTC |
edbc0bd
to
bbe77bb
Compare
8e5a726
to
3812111
Compare
3812111
to
8889d92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Mojmir! Nice idea abstracting the logic to Doc
class!!
Refactor and speed up insights search. Its functionality isn't changing. Link to insights search on staging.
Refactoring
Insight
object instead of dictsurl_persist
Performance
Instead of calculating embeddings on every launch, save them to disk and add missing ones on every load. This makes initial loading almost instant and also speeds up search.