Add natural language search for Premium Archive#2085
Open
samuelclay wants to merge 5 commits intomainfrom
Open
Add natural language search for Premium Archive#2085samuelclay wants to merge 5 commits intomainfrom
samuelclay wants to merge 5 commits intomainfrom
Conversation
Combines Elasticsearch keyword results with OpenAI embedding vector similarity from the discover index. Search queries are embedded via text-embedding-3-small, projected to 256 dims, and matched against indexed stories using cosine similarity. Results are ranked by combined relevance score (60% keyword, 40% semantic). Falls back to keyword-only if embedding fails or discover index isn't ready. Shows "AI" badge in search header when semantic search is active. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add "Natural language search by near terms" to archive tier in the upgrade dialog, welcome page, iOS premium view, and random upgrade reasons. Remove "Natural language search" from Premium Pro coming soon since it's now shipped as an archive feature. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* main: (59 commits) Split Android backfill into per-user method, fix httplib2 pin Add "manually or by clicking in story" mark-as-read option Split Android backfill into per-user instance method Rewrite backfill_android_payments to use Google Play Orders API Fix right-click Mark as Read not working in manual mark-read mode Add backfill_android_payments to fill in missed Google Play renewals Add Google Play RTDN webhooks and fix Android subscription sync Fix Ansible conditional for cert backup download task Fix backdrop-filter stripped by LightningCSS on production Prepend featured image from wp:featuredmedia in WordPress JSON feeds Rebuild blog _site with Web Feeds post Publish Web Feeds blog post with March 13 date Move offsite backup scheduling from HA automation to SSH add-on cron Fix removing old title/text/url training that predates scope/is_regex fields Add WordPress REST API (wp-json) feed support Fix clicking in story detail bypassing manual mark-as-read preference Apply text classifiers against original_text on the frontend Stop auto-submitting Add Site when selecting an autocomplete result Skip retry and fallback requests for openrss.org feeds and enforce 3s rate limit Prioritize higher-ranked briefing sections in story allocation ...
Resolve conflicts in PremiumView.swift, reader_premium_upgrade.js, and welcome.xhtml keeping natural language filters as upcoming feature. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* main: (24 commits) Fix AttributeError in folder RSS feed when folder slug doesn't match Allow crawlers to access /media/img/ for OG image previews Add publish date to story clustering draft and enable incremental Jekyll builds Fix Open Graph and Twitter Card image previews on all static pages Rebuild blog _site with theme toggle fix Fix blog theme toggle not switching back to dark mode Use restart policy 'always' for node-exporter so it survives daemon restarts DRY up Docker container config for web and task deploys Fix AttributeError on MongoEngine queryset in feed limit notification task Fix ValueError from bracketed URLs in feed fetcher qurl() calls Fix ValueError from CRLF injection scans on /reader/feeds/ version param Fix MultiValueDictKeyError in rename_feed endpoint Fix UTF-8 encoding for web feed titles and allow link-free subscriptions Retry HAProxy delegated tasks on transient SSH failures during deploy Replace all MapReduce with aggregation pipelines to prevent JS lock cascade Disable Sentry tracing in flask_metrics to fix memory leak Skip attack detection on newsletter and push endpoints Add attack payload detection middleware with auto-ban Fix ValueError in URL normalization for malformed OPML imports Remove drafts from prod ...
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
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.
Summary
Test plan
Generated with Claude Code